Ok, you shouldn't be ending up with '...>' as your prompt after issuing the CREATE TABLE command in your sqlite3 prompt, that prompt means that the command isn't done (the base sqlite3 prompt is 'sqlite>')
Try this: open your sqlite db with the command line sqlite3 util from your shovell directory:
Code:
sqlite3 db/development.db
Now you should have the prompt 'sqlite>'. Then type the command:
and hit return. This command should list all the tables in that db, so if your stories table was created you should see 1 line saying "stories". If you don't then you need to retry the CREATE TABLE command. Make sure you type it EXACTLY as it appears in the book (maybe you're forgetting the semi-colon?) and hit return. Then exit sqlite3 by typing ".quit" and try your console again.
Bookmarks