WIP: Update morefiles #152

Closed
RecentRunner wants to merge 183 commits from main into morefiles
Showing only changes of commit 521537dc8f - Show all commits

View File

@@ -0,0 +1,5 @@
-- Activate all employees in the users table so they appear in dropdowns
UPDATE users u
SET u.active = TRUE
WHERE u.role IN ('STAFF', 'ADMIN')
AND EXISTS (SELECT 1 FROM employee e WHERE e.user_id = u.id);