diff --git a/migrations/000.090.sql b/migrations/000.090.sql new file mode 100644 index 0000000..9be7c89 --- /dev/null +++ b/migrations/000.090.sql @@ -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';