P5-3536 remove agencies

This commit is contained in:
Martin
2019-02-07 13:48:11 +01:00
parent 1abb780979
commit 57e34f7c15
+8
View File
@@ -0,0 +1,8 @@
-- P5-3536 remove agencies
DROP TABLE agencies;
ALTER TABLE designers DROP COLUMN agency_id;
DELETE FROM u_role_user WHERE role_id = (SELECT id FROM u_roles WHERE name = 'agency');
DELETE FROM u_roles WHERE name = 'agency';