summaryrefslogtreecommitdiff
path: root/db/migrate/20111128100949_add_pin_to_user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20111128100949_add_pin_to_user.rb')
-rw-r--r--db/migrate/20111128100949_add_pin_to_user.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20111128100949_add_pin_to_user.rb b/db/migrate/20111128100949_add_pin_to_user.rb
new file mode 100644
index 0000000..d193452
--- /dev/null
+++ b/db/migrate/20111128100949_add_pin_to_user.rb
@@ -0,0 +1,6 @@
+class AddPinToUser < ActiveRecord::Migration
+ def change
+ add_column :users, :pin_salt, :string
+ add_column :users, :pin_hash, :string
+ end
+end