cartodb/db/migrate/20190513072826_add_public_map_quota.rb

13 lines
231 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
add_column :users, :public_map_quota, Integer, null: true
end,
Proc.new do
drop_column :users, :public_map_quota
end
)