fix ci
All checks were successful
CI/CD Pipeline / test (push) Successful in 11m26s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped

This commit is contained in:
philipp 2024-10-11 11:09:23 +02:00
parent aae206d8d9
commit 10d220773b
2 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ CREATE TABLE IF NOT EXISTS "distance" (
); );
CREATE TRIGGER prevent_multiple_roles_same_cluster CREATE TRIGGER IF NOT EXISTS prevent_multiple_roles_same_cluster
BEFORE INSERT ON user_role BEFORE INSERT ON user_role
BEGIN BEGIN
SELECT CASE SELECT CASE

View File

@ -5,7 +5,7 @@ INSERT INTO user(name) VALUES('Philipp');
INSERT INTO "user_role" (user_id, role_id) VALUES((SELECT id from user where name = 'Philipp'),(SELECT id FROM role where name = 'Donau Linz')); INSERT INTO "user_role" (user_id, role_id) VALUES((SELECT id from user where name = 'Philipp'),(SELECT id FROM role where name = 'Donau Linz'));
ALTER TABLE "role" ADD COLUMN "cluster" text; ALTER TABLE "role" ADD COLUMN "cluster" text;
CREATE TRIGGER prevent_multiple_roles_same_cluster CREATE TRIGGER IF NOT EXISTS prevent_multiple_roles_same_cluster
BEFORE INSERT ON user_role BEFORE INSERT ON user_role
BEGIN BEGIN
SELECT CASE SELECT CASE