diff options
author | Andrew8xx8 <avk@8xx8.ru> | 2013-03-04 18:51:00 +0400 |
---|---|---|
committer | Andrew8xx8 <avk@8xx8.ru> | 2013-03-04 18:51:00 +0400 |
commit | 9a06dd4aa1ab008b6e12205ec3f8d00a50f79aa1 (patch) | |
tree | 352dac5bd0e52ce800de2fdf6d09c6c51baa3556 /db/migrate/20130304105317_remove_blocked_from_user.rb | |
parent | 152c6018b3ace729095e7b58f5be3963b81050fb (diff) |
Migrations added
Diffstat (limited to 'db/migrate/20130304105317_remove_blocked_from_user.rb')
-rw-r--r-- | db/migrate/20130304105317_remove_blocked_from_user.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130304105317_remove_blocked_from_user.rb b/db/migrate/20130304105317_remove_blocked_from_user.rb new file mode 100644 index 00000000000..e010474538c --- /dev/null +++ b/db/migrate/20130304105317_remove_blocked_from_user.rb @@ -0,0 +1,9 @@ +class RemoveBlockedFromUser < ActiveRecord::Migration + def up + remove_column :users, :blocked + end + + def down + add_column :users, :blocked, :boolean + end +end |