From 53b4f8028fc987b0cf26a7a073fec7064b4b6d8a Mon Sep 17 00:00:00 2001 From: AndrewMurrell Date: Tue, 25 Mar 2014 17:38:38 -0400 Subject: revert Guntas --- db/migrate/20140325202910_add_hidden_attrs_to_user.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 db/migrate/20140325202910_add_hidden_attrs_to_user.rb (limited to 'db/migrate/20140325202910_add_hidden_attrs_to_user.rb') diff --git a/db/migrate/20140325202910_add_hidden_attrs_to_user.rb b/db/migrate/20140325202910_add_hidden_attrs_to_user.rb new file mode 100644 index 0000000..2f1b0b2 --- /dev/null +++ b/db/migrate/20140325202910_add_hidden_attrs_to_user.rb @@ -0,0 +1,8 @@ +class AddHiddenAttrsToUser < ActiveRecord::Migration + def change + add_column :users, :password_digest, :string + add_column :users, :remember_token, :string + add_index :users, :remember_token, unique: true + add_column :users, :groups, :integer + end +end -- cgit v1.2.3-54-g00ecf