Files
yourpart3/backend/sql/add_worker_schedule_read_right.sql
Torsten Schulz (local) 1ab9407e79
All checks were successful
Deploy to production / deploy (push) Successful in 2m56s
Refactor code structure for improved readability and maintainability; optimize performance across multiple modules.
2026-07-21 09:08:15 +02:00

10 lines
236 B
SQL
Executable File

-- Adds user right required for Falukant worker schedule read access.
INSERT INTO "type".user_right (title)
SELECT 'worker_schedule_read'
WHERE NOT EXISTS (
SELECT 1
FROM "type".user_right
WHERE title = 'worker_schedule_read'
);