From 41e6197bd3fb6b2a96226a3743c8e41421c7bb4e Mon Sep 17 00:00:00 2001 From: kinseyost Date: Tue, 20 Sep 2016 03:18:50 +0000 Subject: [PATCH] Fixing broken migration 1/3 --- db/migrate/20160918172700_alter_users.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20160918172700_alter_users.rb b/db/migrate/20160918172700_alter_users.rb index 5e87616..ba6459d 100644 --- a/db/migrate/20160918172700_alter_users.rb +++ b/db/migrate/20160918172700_alter_users.rb @@ -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