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

13 lines
241 B
Ruby

require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
add_column :users, :regular_api_key_quota, Integer, null: true
end,
Proc.new do
drop_column :users, :regular_api_key_quota
end
)