cartodb-4.29/db/migrate/20140617142314_add_entity_to_permissions.rb

12 lines
239 B
Ruby
Raw Permalink Normal View History

2020-06-15 10:58:47 +08:00
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