Allow nulls in widget style

pull/10269/head
Javier Torres 8 years ago
parent 1a621de5b5
commit 1ccc8858f9

@ -5,7 +5,7 @@ include Carto::Db::MigrationHelper
migration(
Proc.new do
alter_table :widgets do
add_column :style, :json, null: false, default: '{}'
add_column :style, :json, null: true
end
end,
Proc.new do

Loading…
Cancel
Save