cartodb-4.29/db/migrate/20110309163228_add_enabled_field_to_users.rb

12 lines
191 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
class AddEnabledFieldToUsersMigration < Sequel::Migration
def up
add_column :users, :enabled, :boolean, :default => false
end
def down
drop_column :users, :enabled
end
end