backend/migrations/2025-05-27-105059_redo_role_ordering/down.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
148 B
SQL

-- This file should undo anything in `up.sql`
ALTER TABLE roles ADD COLUMN position int NOT NULL DEFAULT 0;
ALTER TABLE roles DROP COLUMN is_above;