cartodb/db/migrate/20161004130412_add_version_to_visualizations.rb

9 lines
213 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
Sequel.migration do
change do
alter_table :visualizations do
# This should be non-nullable and default=2 but that forces a db downtime
add_column :version, :integer, null: true
end
end
end