cartodb/db/migrate/20120213183707_add_private_tables_to_user.rb

10 lines
221 B
Ruby
Raw Normal View History

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