add user as of 2023-04-04

This commit is contained in:
philipp 2023-04-04 15:26:03 +02:00
parent 0b5fb51f19
commit 9ad8e6dfed
2 changed files with 108 additions and 19 deletions

View File

@ -6,22 +6,8 @@
# Edge case
- Trip in the morning on usi rowing day
- after N people (/ cox) -> red highlighted -> queue
# Fancy
- Every cox can define which boats they use
- Link for specific trip
- Basic auth (with e.g. ekrv) to prevent spam bots? (Or on first login there are 2 input fields: name + e.g. name of "strom")
# TODO
- [x] User login
- [x] Admin
- [x] User
- [x] User passwort zurücksetzen
- [x] Cox + admin + guest setzen
- [ ] Ausfahrten
- [x] CRUD planned_event
- [x] CRUD trip_details
- [x] CRUD trip
- [ ] CRUD user_trip

113
seeds.sql
View File

@ -1,5 +1,108 @@
INSERT INTO "user" (name, is_cox, is_admin, is_guest, pw) VALUES('admin', false, true, false, '$argon2id$v=19$m=19456,t=2,p=1$dS/X5/sPEKTj4Rzs/CuvzQ$4P4NCw4Ukhv80/eQYTsarHhnw61JuL1KMx/L9dm82YM');
INSERT INTO "user" (name, is_cox, is_admin, is_guest, pw) VALUES('rower', false, false, false, '$argon2id$v=19$m=19456,t=2,p=1$dS/X5/sPEKTj4Rzs/CuvzQ$jWKzDmI0jqT2dqINFt6/1NjVF4Dx15n07PL1ZMBmFsY');
INSERT INTO "user" (name, is_cox, is_admin, is_guest, pw) VALUES('guest', false, false, true, '$argon2id$v=19$m=19456,t=2,p=1$dS/X5/sPEKTj4Rzs/CuvzQ$GF6gizbI79Bh0zA9its8S0gram956v+YIV8w8VpwJnQ');
INSERT INTO "user" (name, is_cox, is_admin, is_guest, pw) VALUES('cox', true, false, false, '$argon2id$v=19$m=19456,t=2,p=1$dS/X5/sPEKTj4Rzs/CuvzQ$lnWzHx3DdqS9GQyWYel82kIotZuK2wk9EyfhPFtjNzs');
INSERT INTO "user" (name) VALUES('new');
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Daniela Allmeier', false, true);
INSERT INTO "user" (name, is_guest) VALUES ('Doris Allmeier', false);
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Karl Allmeier', false, true);
INSERT INTO "user" (name, is_guest) VALUES ('Alaa Almousa', false);
INSERT INTO "user" (name, is_guest) VALUES ('Elke Atzgerstorfer', false);
INSERT INTO "user" (name, is_guest) VALUES ('Eva Atzgerstorfer', false);
INSERT INTO "user" (name, is_guest) VALUES ('Philip Baillon', false);
INSERT INTO "user" (name, is_guest) VALUES ('Elfriede Baminger', false);
INSERT INTO "user" (name, is_guest) VALUES ('Alexandra Binder', false);
INSERT INTO "user" (name, is_guest) VALUES ('Gerald Binder', false);
INSERT INTO "user" (name, is_guest, is_cox, is_admin) VALUES ('Marie Birner', false, true, true);
INSERT INTO "user" (name, is_guest) VALUES ('Richard Bogdan', false);
INSERT INTO "user" (name, is_guest) VALUES ('Mara Brandstetter', false);
INSERT INTO "user" (name, is_guest) VALUES ('Christian Commenda', false);
INSERT INTO "user" (name, is_guest) VALUES ('Goran DAgosto', false);
INSERT INTO "user" (name, is_guest) VALUES ('Daria Danner', false);
INSERT INTO "user" (name, is_guest) VALUES ('Silvia Demmig', false);
INSERT INTO "user" (name, is_guest) VALUES ('Daniela Dieplinger', false);
INSERT INTO "user" (name, is_guest) VALUES ('Herbert Dieplinger', false);
INSERT INTO "user" (name, is_guest) VALUES ('Sylvia Ecker', false);
INSERT INTO "user" (name, is_guest) VALUES ('Raphael Eichhorn', false);
INSERT INTO "user" (name, is_guest) VALUES ('Geza Eisserer', false);
INSERT INTO "user" (name, is_guest) VALUES ('Helga Engelbrechtslehner', false);
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Manuela Firmötz', false, true);
INSERT INTO "user" (name, is_guest) VALUES ('Maj-Britt Fobian', false);
INSERT INTO "user" (name, is_guest) VALUES ('Elisabeth Fölser', false);
INSERT INTO "user" (name, is_guest) VALUES ('Larissa Freimuth', false);
INSERT INTO "user" (name, is_guest) VALUES ('Nina Füreder', false);
INSERT INTO "user" (name, is_guest) VALUES ('Bettina Fürlinger', false);
INSERT INTO "user" (name, is_guest) VALUES ('Heinz Gessl', false);
INSERT INTO "user" (name, is_guest) VALUES ('Helmut Gidl', false);
INSERT INTO "user" (name, is_guest) VALUES ('Eva-Maria Gruber', false);
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Christian Gusenbauer', false, true);
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Adolf Hainschink', false, true);
INSERT INTO "user" (name, is_guest) VALUES ('Maria Hainschink', false);
INSERT INTO "user" (name, is_guest) VALUES ('Leon Hattmannsdorfer', false);
INSERT INTO "user" (name, is_guest) VALUES ('Andrea Heinemann', false);
INSERT INTO "user" (name, is_guest) VALUES ('Bernhard Heinemann', false);
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Matthias Höfer', false, true);
INSERT INTO "user" (name, is_guest, is_cox, is_admin) VALUES ('Philipp Hofer', false, true, true);
INSERT INTO "user" (name, is_guest) VALUES ('Thomas Hoffelner', false);
INSERT INTO "user" (name, is_guest) VALUES ('Inge Höllersberger', false);
INSERT INTO "user" (name, is_guest) VALUES ('Harald Iro', false);
INSERT INTO "user" (name, is_guest) VALUES ('Claudia Jagersberger', false);
INSERT INTO "user" (name, is_guest) VALUES ('Melanie Keplinger', false);
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Ernst Klima', false, true);
INSERT INTO "user" (name, is_guest) VALUES ('Herta Klima', false);
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Thomas Klima', false, true);
INSERT INTO "user" (name, is_guest) VALUES ('Margit Bencic', false);
INSERT INTO "user" (name, is_guest) VALUES ('Ingrid Klug', false);
INSERT INTO "user" (name, is_guest) VALUES ('Max Knauseder', false);
INSERT INTO "user" (name, is_guest) VALUES ('Paul Knauseder', false);
INSERT INTO "user" (name, is_guest) VALUES ('Harald Koch', false);
INSERT INTO "user" (name, is_guest) VALUES ('Johann Koci', false);
INSERT INTO "user" (name, is_guest) VALUES ('Alexander Koll', false);
INSERT INTO "user" (name, is_guest) VALUES ('Gudrun Koppauer', false);
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Daniel Kortschak', false, true);
INSERT INTO "user" (name, is_guest) VALUES ('Manfred Krausbar', false);
INSERT INTO "user" (name, is_guest) VALUES ('Verena Kriechbaum', false);
INSERT INTO "user" (name, is_guest) VALUES ('Martin Kugler', false);
INSERT INTO "user" (name, is_guest) VALUES ('Fabian Kunz', false);
INSERT INTO "user" (name, is_guest) VALUES ('Heinrich Kupka', false);
INSERT INTO "user" (name, is_guest) VALUES ('Anna Kuthan', false);
INSERT INTO "user" (name, is_guest) VALUES ('Moritz Lach', false);
INSERT INTO "user" (name, is_guest) VALUES ('Claudia Lackinger', false);
INSERT INTO "user" (name, is_guest) VALUES ('Erich Lehner', false);
INSERT INTO "user" (name, is_guest) VALUES ('Roland Lehner', false);
INSERT INTO "user" (name, is_guest) VALUES ('Matthias List', false);
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Manfred Meindl', false, true);
INSERT INTO "user" (name, is_guest) VALUES ('Michael Messner', false);
INSERT INTO "user" (name, is_guest) VALUES ('Iris Pfoser', false);
INSERT INTO "user" (name, is_guest) VALUES ('Franz Poddemski', false);
INSERT INTO "user" (name, is_guest) VALUES ('Laurent Pramhas', false);
INSERT INTO "user" (name, is_guest) VALUES ('Carmen Pusch', false);
INSERT INTO "user" (name, is_guest) VALUES ('Heinz Radinger', false);
INSERT INTO "user" (name, is_guest) VALUES ('Franz Reisinger', false);
INSERT INTO "user" (name, is_guest) VALUES ('Hermann Remplbauer', false);
INSERT INTO "user" (name, is_guest) VALUES ('Burkhard Riss', false);
INSERT INTO "user" (name, is_guest) VALUES ('Julius Riss', false);
INSERT INTO "user" (name, is_guest) VALUES ('Christiane Rückerl', false);
INSERT INTO "user" (name, is_guest) VALUES ('Andrea Sageder', false);
INSERT INTO "user" (name, is_guest) VALUES ('Birgit Sageder', false);
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Michael Sageder', false, true);
INSERT INTO "user" (name, is_guest) VALUES ('Niklas Sageder', false);
INSERT INTO "user" (name, is_guest) VALUES ('Sebastian Sageder', false);
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Siegfried Sageder', false, true);
INSERT INTO "user" (name, is_guest) VALUES ('Lisa-Maria Schedlberger', false);
INSERT INTO "user" (name, is_guest) VALUES ('Max Schellenbacher', false);
INSERT INTO "user" (name, is_guest) VALUES ('Klaus Schlögl', false);
INSERT INTO "user" (name, is_guest) VALUES ('Wolfgang Schlögl', false);
INSERT INTO "user" (name, is_guest) VALUES ('Gabriele Schwarz', false);
INSERT INTO "user" (name, is_guest) VALUES ('Caroline Schwendinger', false);
INSERT INTO "user" (name, is_guest) VALUES ('Kristina Schwendinger', false);
INSERT INTO "user" (name, is_guest) VALUES ('Martina Schwendinger', false);
INSERT INTO "user" (name, is_guest) VALUES ('Stephan Siegl', false);
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Sandra Sollberger', false, true);
INSERT INTO "user" (name, is_guest) VALUES ('Michael Stadler', false);
INSERT INTO "user" (name, is_guest) VALUES ('Edith Steinacker', false);
INSERT INTO "user" (name, is_guest) VALUES ('Ignaz Alois Stütz', false);
INSERT INTO "user" (name, is_guest) VALUES ('Ilona Stütz', false);
INSERT INTO "user" (name, is_guest) VALUES ('Elisabeth Totschnig', false);
INSERT INTO "user" (name, is_guest) VALUES ('Atharva Tyagi', false);
INSERT INTO "user" (name, is_guest) VALUES ('Friedrich Weber', false);
INSERT INTO "user" (name, is_guest) VALUES ('Isabella Wessely', false);
INSERT INTO "user" (name, is_guest, is_cox) VALUES ('Lukas Wessely', false, true);
INSERT INTO "user" (name, is_guest) VALUES ('Erich Zauner', false);
INSERT INTO "user" (name, is_guest) VALUES ('Renate Zehetner', false);
INSERT INTO "user" (name, is_guest) VALUES ('Augustin Zuljevic', false);