Skip to content

Instantly share code, notes, and snippets.

@jraczak
Created May 2, 2012 17:36
Show Gist options
  • Save jraczak/2578541 to your computer and use it in GitHub Desktop.
Save jraczak/2578541 to your computer and use it in GitHub Desktop.
simon-ipad:crowdscore jraczak$ rake db:migrate
WARNING: password file "/Users/jraczak/.pgpass" has group or world access; permissions should be u=rw (0600) or less
== DeviseCreateUsers: migrating ==============================================
-- create_table(:users)
NOTICE: CREATE TABLE will create implicit sequence "users_id_seq" for serial column "users.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "users_pkey" for table "users"
-> 0.1142s
-- add_index(:users, :email, {:unique=>true})
-> 0.0046s
-- add_index(:users, :reset_password_token, {:unique=>true})
-> 0.2324s
-- add_index(:users, :confirmation_token, {:unique=>true})
rake aborted!
An error has occurred, this and all later migrations canceled:
PG::Error: ERROR: column "confirmation_token" does not exist
: CREATE UNIQUE INDEX "index_users_on_confirmation_token" ON "users" ("confirmation_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