Create a gist now

Instantly share code, notes, and snippets.

== AddIndexOnUsersPersistenceToken: migrating ================================
-- add_index(:users, :persistence_token)
rake aborted!
An error has occurred, this and all later migrations canceled:
SQLite3::SQLException: table users has no column named persistence_token: CREATE INDEX "index_users_on_persistence_token" ON "users" ("persistence_token")
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