summaryrefslogtreecommitdiff
path: root/db/migrate/20140424014459_add_hidden_attrs_to_user.rb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-04-23 22:50:48 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-04-23 22:50:48 -0400
commit41a93fad32677e3f351c0e16f0c704cbfbc5404e (patch)
treeaa46c550dbd15a1f0bb0faf4e8eebb92c4970bdd /db/migrate/20140424014459_add_hidden_attrs_to_user.rb
parent19b04a49d01af1917385c166501ef086eddae437 (diff)
parent47be7c86ca5193ffe4331fbb9358a9171abe748b (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'db/migrate/20140424014459_add_hidden_attrs_to_user.rb')
-rw-r--r--db/migrate/20140424014459_add_hidden_attrs_to_user.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20140424014459_add_hidden_attrs_to_user.rb b/db/migrate/20140424014459_add_hidden_attrs_to_user.rb
new file mode 100644
index 0000000..9b5c505
--- /dev/null
+++ b/db/migrate/20140424014459_add_hidden_attrs_to_user.rb
@@ -0,0 +1,6 @@
+class AddHiddenAttrsToUser < ActiveRecord::Migration
+ def change
+ add_column :users, :password_digest, :string
+ add_column :users, :permissions, :integer
+ end
+end