Commit 2c0ed231 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

we have reference to project_id (not id) in the privileges

parent 0b313d73
......@@ -77,4 +77,7 @@ alter table user_privilege_map_table add primary key (user_id, privilege_id);
-- objectId is now a String to account for non DB generated ids
alter table privilege_table alter column object_id type varchar;
\ No newline at end of file
alter table privilege_table alter column object_id type varchar;
-- change id to project_id for project prvileges
update privilege_table set object_id = (select project_id from project_table where id::text = object_id) where object_id is not null;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment