You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
267 B
17 lines
267 B
4 years ago
|
require 'carto/db/migration_helper'
|
||
|
|
||
|
include Carto::Db::MigrationHelper
|
||
|
|
||
|
migration(
|
||
|
Proc.new do
|
||
|
alter_table :widgets do
|
||
|
add_column :style, :json, null: true
|
||
|
end
|
||
|
end,
|
||
|
Proc.new do
|
||
|
alter_table :widgets do
|
||
|
drop_column :style
|
||
|
end
|
||
|
end
|
||
|
)
|