From a17ac5f1b54673aa861595f30823cf1f3664b668 Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 23 Dec 2023 22:14:24 +0100 Subject: [PATCH] fix seeds --- staging-diff.sql | 81 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) diff --git a/staging-diff.sql b/staging-diff.sql index 293af46..f52ac94 100644 --- a/staging-diff.sql +++ b/staging-diff.sql @@ -12,3 +12,84 @@ CREATE TABLE IF NOT EXISTS "user_role" ( "role_id" INTEGER NOT NULL REFERENCES role(id), CONSTRAINT unq UNIQUE (user_id, role_id) ); + +INSERT INTO "user_role" (user_id, role_id) VALUES (11,1); -- Marie Admin +INSERT INTO "user_role" (user_id, role_id) VALUES (40,1); -- PH Admin + +-- cox +INSERT INTO "user_role" (user_id, role_id) VALUES (1,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (3,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (11,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (14,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (24,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (33,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (34,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (38,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (39,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (40,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (46,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (48,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (57,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (69,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (70,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (75,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (83,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (86,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (90,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (96,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (105,2); +INSERT INTO "user_role" (user_id, role_id) VALUES (106,2); + +-- scheckbuch +INSERT INTO "user_role" (user_id, role_id) VALUES (109,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (112,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (113,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (114,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (115,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (116,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (118,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (119,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (120,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (121,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (122,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (123,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (124,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (126,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (127,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (128,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (129,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (130,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (131,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (132,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (133,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (135,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (136,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (137,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (138,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (139,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (140,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (141,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (142,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (143,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (144,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (145,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (146,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (147,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (153,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (154,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (155,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (159,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (669,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (670,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (671,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (672,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (673,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (674,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (675,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (676,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (677,3); +INSERT INTO "user_role" (user_id, role_id) VALUES (678,3); + +-- tech +INSERT INTO "user_role" (user_id, role_id) VALUES (38,4); +INSERT INTO "user_role" (user_id, role_id) VALUES (69,4);