diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-26 12:16:49 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-26 12:48:07 +0400 |
commit | 4b3950456d666bc92fcf123532e73ae82c3c5e12 (patch) | |
tree | fa9c07974df8b507846449fc27419b5c901e5e80 /db/migrate/20130325173941_add_notification_level_to_user.rb | |
parent | cf6d4dc10c8d6488153c73a3586d2d3477d735fc (diff) |
notification level for user
Diffstat (limited to 'db/migrate/20130325173941_add_notification_level_to_user.rb')
-rw-r--r-- | db/migrate/20130325173941_add_notification_level_to_user.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20130325173941_add_notification_level_to_user.rb b/db/migrate/20130325173941_add_notification_level_to_user.rb new file mode 100644 index 00000000000..9f466e38c13 --- /dev/null +++ b/db/migrate/20130325173941_add_notification_level_to_user.rb @@ -0,0 +1,5 @@ +class AddNotificationLevelToUser < ActiveRecord::Migration + def change + add_column :users, :notification_level, :integer, null: false, default: 1 + end +end |