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

13 lines
299 B
Ruby

require 'carto/db/migration_helper'
include Carto::Db::MigrationHelper
migration(
Proc.new do
run "UPDATE rate_limits SET sql_copy_from = '{3,3,60}' WHERE sql_copy_from IS NULL"
run "UPDATE rate_limits SET sql_copy_to = '{3,3,60}' WHERE sql_copy_to IS NULL"
end,
Proc.new do
end
)