cartodb-4.29/db/migrate/20110309163228_add_enabled_field_to_users.rb
2020-06-15 10:58:47 +08:00

12 lines
191 B
Ruby

class AddEnabledFieldToUsersMigration < Sequel::Migration
def up
add_column :users, :enabled, :boolean, :default => false
end
def down
drop_column :users, :enabled
end
end