cartodb/db/migrate/20160425083000_widgets_source_id.rb

14 lines
193 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
Sequel.migration do
up do
alter_table(:widgets) do
add_column :source_id, :text
end
end
down do
alter_table(:widgets) do
drop_column :source_id
end
end
end