cartodb-4.42/db/migrate/20200217124648_add_public_dataset_quota.rb

12 lines
238 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
add_column :users, :public_dataset_quota, Integer, null: true
end,
Proc.new do
drop_column :users, :public_dataset_quota
end
)