{"action":"created","issue":{"url":"https://api.github.com/repos/yogthos/luminus/issues/48","labels_url":"https://api.github.com/repos/yogthos/luminus/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/yogthos/luminus/issues/48/comments","events_url":"https://api.github.com/repos/yogthos/luminus/issues/48/events","html_url":"https://github.com/yogthos/luminus/issues/48","id":47862335,"number":48,"title":"Encoutering database error when going through the guestbook tutorial","user":{"login":"chrissound","id":1499652,"avatar_url":"https://avatars.githubusercontent.com/u/1499652?v=3","gravatar_id":"","url":"https://api.github.com/users/chrissound","html_url":"https://github.com/chrissound","followers_url":"https://api.github.com/users/chrissound/followers","following_url":"https://api.github.com/users/chrissound/following{/other_user}","gists_url":"https://api.github.com/users/chrissound/gists{/gist_id}","starred_url":"https://api.github.com/users/chrissound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrissound/subscriptions","organizations_url":"https://api.github.com/users/chrissound/orgs","repos_url":"https://api.github.com/users/chrissound/repos","events_url":"https://api.github.com/users/chrissound/events{/privacy}","received_events_url":"https://api.github.com/users/chrissound/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-05T17:15:27Z","updated_at":"2015-01-18T03:25:10Z","closed_at":null,"body":"Hi there,\r\n\r\nPerhaps I did things in the wrong order, but it seems that if the database was already created upon starting the Luminus application (via `lein ring server`), then it would not recreate the database with the new guestbook table.\r\nSo I encountered an error / exception in the form of:\r\n`Table \"GUESTBOOK\" not found; SQL statement: SELECT \"GUESTBOOK\".* FROM \"GUESTBOOK\"`\r\n\r\nThis was solved by setting a different filename for `db-store`.\r\n\r\nGreat tutorial otherwise! \r\n\r\nCheers"},"comment":{"url":"https://api.github.com/repos/yogthos/luminus/issues/comments/70395030","html_url":"https://github.com/yogthos/luminus/issues/48#issuecomment-70395030","issue_url":"https://api.github.com/repos/yogthos/luminus/issues/48","id":70395030,"user":{"login":"elliotec","id":4829208,"avatar_url":"https://avatars.githubusercontent.com/u/4829208?v=3","gravatar_id":"","url":"https://api.github.com/users/elliotec","html_url":"https://github.com/elliotec","followers_url":"https://api.github.com/users/elliotec/followers","following_url":"https://api.github.com/users/elliotec/following{/other_user}","gists_url":"https://api.github.com/users/elliotec/gists{/gist_id}","starred_url":"https://api.github.com/users/elliotec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliotec/subscriptions","organizations_url":"https://api.github.com/users/elliotec/orgs","repos_url":"https://api.github.com/users/elliotec/repos","events_url":"https://api.github.com/users/elliotec/events{/privacy}","received_events_url":"https://api.github.com/users/elliotec/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T03:25:10Z","updated_at":"2015-01-18T03:25:10Z","body":"I had the same issue. I had to do the following:\r\n\r\n$ lein repl\r\n\r\n=> (in-ns 'guestbook.db.schema)\r\n=> (require :reload 'guestbook.db.schema)\r\n=> (create-tables)\r\n\r\nIf I could have figured out how to just drop the database I think that would've worked better. But changing the filename for db-store is another working solution."}}