cartodb-4.42/db/migrate/20160926140426_add_viewer_to_user_creations.rb

14 lines
231 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
Sequel.migration do
up do
alter_table :user_creations do
add_column :viewer, :boolean, null: false, default: false
end
end
down do
alter_table :user_creations do
drop_column :viewer
end
end
end