From ab9e82118716fb56dfaac67cdabd9bbbc86b5066 Mon Sep 17 00:00:00 2001 From: philipp Date: Tue, 20 Aug 2024 10:06:16 +0200 Subject: [PATCH] fix seeds --- seeds.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/seeds.sql b/seeds.sql index d89090a..1285e98 100644 --- a/seeds.sql +++ b/seeds.sql @@ -38,11 +38,11 @@ INSERT INTO "user_role" (user_id, role_id) VALUES(8,7); INSERT INTO "user" (name, pw) VALUES('Vorstandsmitglied', '$argon2id$v=19$m=19456,t=2,p=1$dS/X5/sPEKTj4Rzs/CuvzQ$jWKzDmI0jqT2dqINFt6/1NjVF4Dx15n07PL1ZMBmFsY'); INSERT INTO "user_role" (user_id, role_id) VALUES(9,5); INSERT INTO "user" (name, pw) VALUES('main', '$argon2id$v=19$m=19456,t=2,p=1$dS/X5/sPEKTj4Rzs/CuvzQ$4P4NCw4Ukhv80/eQYTsarHhnw61JuL1KMx/L9dm82YM'); -INSERT INTO "user_role" (user_id, role_id) VALUES(1,1); -INSERT INTO "user_role" (user_id, role_id) VALUES(1,2); -INSERT INTO "user_role" (user_id, role_id) VALUES(1,5); -INSERT INTO "user_role" (user_id, role_id) VALUES(1,6); -INSERT INTO "user_role" (user_id, role_id) VALUES(1,9); +INSERT INTO "user_role" (user_id, role_id) VALUES(9,1); +INSERT INTO "user_role" (user_id, role_id) VALUES(9,2); +INSERT INTO "user_role" (user_id, role_id) VALUES(9,5); +INSERT INTO "user_role" (user_id, role_id) VALUES(9,6); +INSERT INTO "user_role" (user_id, role_id) VALUES(9,9); INSERT INTO "trip_details" (planned_starting_time, max_people, day, notes) VALUES('10:00', 2, '1970-01-01', 'trip_details for a planned event'); INSERT INTO "planned_event" (name, planned_amount_cox, trip_details_id) VALUES('test-planned-event', 2, 1);