Skip to content

Commit

Permalink
Fixing broken migration 1/3
Browse files Browse the repository at this point in the history
  • Loading branch information
kinseyost committed Sep 20, 2016
1 parent 242ff77 commit 41e6197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20160918172700_alter_users.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ def up
rename_table("users", "admin_users")
add_column("admin_users", "username", :string, :limit => 25, :after => "email")
change_column("admin_users", "email", :string, :limit => 100)
rename_column("admin_users", "password", "hashed_password")
rename_column("admin_users", "breakit", "hashed_password")
puts("Always add an index for foreign keys and columns that are used frequently!")
add_index("admin_users", "username")
end
Expand Down

0 comments on commit 41e6197

Please sign in to comment.