cartodb/db/migrate/20110706134412_add_map_enabled_to_users.rb

12 lines
196 B
Ruby
Raw Permalink Normal View History

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