cartodb-4.42/db/migrate/20170425100958_add_org_admin_to_users.rb
2024-04-06 05:25:13 +00:00

13 lines
235 B
Ruby

require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
add_column :users, :org_admin, :boolean, null: false, default: false
end,
Proc.new do
drop_column :users, :org_admin
end
)