cartodb-4.42/db/migrate/20170525144020_set_scrollwheel_default_to_true.rb

13 lines
226 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
set_column_default :maps, :scrollwheel, true
end,
Proc.new do
set_column_default :maps, :scrollwheel, false
end
)