cartodb/db/migrate/20170525144020_set_scrollwheel_default_to_true.rb

13 lines
226 B
Ruby
Raw Permalink Normal View History

2020-06-15 10:58:47 +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
)