cartodb/db/migrate/20160701125000_add_viewer_to_invitations.rb

14 lines
227 B
Ruby
Raw Normal View History

2020-06-15 10:58:47 +08:00
Sequel.migration do
up do
alter_table(:invitations) do
add_column :viewer, :boolean, null: false, default: false
end
end
down do
alter_table(:invitations) do
drop_column :viewer
end
end
end