diff options
Diffstat (limited to 'db/migrate/20150610065936_add_dashboard_to_users.rb')
-rw-r--r-- | db/migrate/20150610065936_add_dashboard_to_users.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20150610065936_add_dashboard_to_users.rb b/db/migrate/20150610065936_add_dashboard_to_users.rb new file mode 100644 index 00000000000..2628e450722 --- /dev/null +++ b/db/migrate/20150610065936_add_dashboard_to_users.rb @@ -0,0 +1,9 @@ +class AddDashboardToUsers < ActiveRecord::Migration + def up + add_column :users, :dashboard, :integer, default: 0 + end + + def down + remove_column :users, :dashboard + end +end |