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

12 lines
196 B
Ruby

class AddMapEnabledToUsersMigration < Sequel::Migration
def up
add_column :users, :map_enabled, :boolean, :default => true
end
def down
drop_column :users, :map_enabled
end
end