diff options
Diffstat (limited to 'db/migrate/20170206115204_add_column_ghost_to_users.rb')
-rw-r--r-- | db/migrate/20170206115204_add_column_ghost_to_users.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20170206115204_add_column_ghost_to_users.rb b/db/migrate/20170206115204_add_column_ghost_to_users.rb new file mode 100644 index 00000000000..cc1eeda1160 --- /dev/null +++ b/db/migrate/20170206115204_add_column_ghost_to_users.rb @@ -0,0 +1,11 @@ +class AddColumnGhostToUsers < ActiveRecord::Migration + DOWNTIME = false + + def up + add_column :users, :ghost, :boolean + end + + def down + remove_column :users, :ghost + end +end |