backend/migrations/2025-05-27-105059_redo_role_ordering/up.sql
Radical 1aa38631b8
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful
feat: implement is_above for roles and reuse same functions from channels!
2025-05-27 11:16:33 +00:00

3 lines
149 B
SQL

-- Your SQL goes here
ALTER TABLE roles DROP COLUMN position;
ALTER TABLE roles ADD COLUMN is_above UUID UNIQUE REFERENCES roles(uuid) DEFAULT NULL;