cartodb/db/migrate/20140617142314_add_entity_to_permissions.rb
2020-06-15 10:58:47 +08:00

12 lines
239 B
Ruby

Sequel.migration do
up do
add_column :permissions, :entity_id, :uuid
add_column :permissions, :entity_type, :text
end
down do
drop_column :permissions, :entity_id
drop_column :permissions, :entity_type
end
end