cartodb/db/migrate/20110308151555_add_admin_flag_to_users.rb
2020-06-15 10:58:47 +08:00

10 lines
163 B
Ruby

class AddAdminFlagToUsersMigration < Sequel::Migration
def up
add_column :users, :admin, :boolean
end
def down
drop_column :users, :admin
end
end