Add book deletion feature with admin permission control

This commit is contained in:
aditya.chandel
2025-06-21 18:31:39 -06:00
committed by Aditya Chandel
parent 6f032153b8
commit ce96fcff6d
28 changed files with 358 additions and 126 deletions
@@ -0,0 +1,6 @@
ALTER TABLE user_permissions
ADD COLUMN permission_delete_book BOOLEAN NOT NULL DEFAULT FALSE;
UPDATE user_permissions up
SET up.permission_delete_book = TRUE
WHERE up.permission_admin = TRUE;