Files
Rikard BartholfandGitHub ddcbd0afb0 Archive old migrations (#426)
* Archive old migrations

* Fix invalid placement of migrations
2024-10-17 11:19:12 +02:00

9 lines
227 B
SQL

-- 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';