Skip to content

Instantly share code, notes, and snippets.

@johanb
Created May 31, 2011 20:43
Show Gist options
  • Save johanb/1001245 to your computer and use it in GitHub Desktop.
Save johanb/1001245 to your computer and use it in GitHub Desktop.
rake db:migrate
== CreateCopywritings: migrating =============================================
-- create_table(:copywriting_phrases)
-> 0.0014s
-- add_index(:copywriting_phrases, :name, :scope)
rake aborted!
An error has occurred, this and all later migrations canceled:
SQLite3::SQLException: near "scope": syntax error: CREATE scope INDEX "index_copywriting_phrases_on_name" ON "copywriting_phrases" ("name")
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment