diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-04-01 18:04:55 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-04-01 18:04:55 -0400 |
commit | e6b160bd81e51e0bd88e5c2563a06ea5f0d64620 (patch) | |
tree | d6358feeaf8399f97a363ccccc4d2de24bc48db9 /db/migrate/20140401215809_add_hidden_attrs_to_user.rb | |
parent | ac77cea14d5708f47df42774b0b281391b2e3c89 (diff) | |
parent | a2de6b22a720671b796c88c694db905665fda142 (diff) |
Removed ger
Diffstat (limited to 'db/migrate/20140401215809_add_hidden_attrs_to_user.rb')
-rw-r--r-- | db/migrate/20140401215809_add_hidden_attrs_to_user.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20140401215809_add_hidden_attrs_to_user.rb b/db/migrate/20140401215809_add_hidden_attrs_to_user.rb new file mode 100644 index 0000000..2f1b0b2 --- /dev/null +++ b/db/migrate/20140401215809_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 |