cartodb-4.42/db/migrate/20190318132352_fill_rate_limits.rb

13 lines
299 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
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
)