Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
== AddApiKeyToSpreeUsers: migrating ==========================================
-- add_column(:spree_users, :api_key, :string, {:limit=>40})
rake aborted!
An error has occurred, this and all later migrations canceled:
SQLite3::SQLException: no such table: spree_users: ALTER TABLE "spree_users" ADD "api_key" varchar(40)
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