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

12 lines
239 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +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