Compare commits

...

2 Commits

Author SHA1 Message Date
640f6bd0e7 Merge pull request 'add data from nx' (#106) from nxdata into staging
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
CI/CD Pipeline / test (push) Has been cancelled
Reviewed-on: #106
2023-12-30 21:22:11 +01:00
5800f137f3 add data from nx
Some checks failed
CI/CD Pipeline / test (push) Has been cancelled
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-main (push) Has been cancelled
2023-12-30 21:21:30 +01:00
7 changed files with 377 additions and 12 deletions

View File

@ -8,7 +8,14 @@ CREATE TABLE IF NOT EXISTS "user" (
"weight" text,
"sex" text,
"dirty_thirty" text,
"dirty_dozen" text
"dirty_dozen" text,
"member_since_date" text,
"birthdate" text,
"mail" text,
"nickname" text,
"notes" text,
"phone" text,
"address" text
);
CREATE TABLE IF NOT EXISTS "role" (

View File

@ -16,7 +16,7 @@ impl Rower {
sqlx::query_as!(
User,
"
SELECT id, name, pw, deleted, last_access, dob, weight, sex
SELECT id, name, pw, deleted, last_access, dob, weight, sex, member_since_date, birthdate, mail, nickname, notes, phone, address
FROM user
WHERE id in (SELECT rower_id FROM rower WHERE logbook_id=?)
",

View File

@ -49,7 +49,7 @@ impl Trip {
sqlx::query_as!(
Self,
"
SELECT trip.id, cox_id, user.name as cox_name, trip_details_id, planned_starting_time, max_people, day, notes, allow_guests, trip_type_id, always_show, is_locked
SELECT trip.id, cox_id, user.name as cox_name, trip_details_id, planned_starting_time, max_people, day, trip_details.notes, allow_guests, trip_type_id, always_show, is_locked
FROM trip
INNER JOIN trip_details ON trip.trip_details_id = trip_details.id
INNER JOIN user ON trip.cox_id = user.id
@ -94,7 +94,7 @@ WHERE trip.id=?
let trips = sqlx::query_as!(
Trip,
"
SELECT trip.id, cox_id, user.name as cox_name, trip_details_id, planned_starting_time, max_people, day, notes, allow_guests, trip_type_id, always_show, is_locked
SELECT trip.id, cox_id, user.name as cox_name, trip_details_id, planned_starting_time, max_people, day, trip_details.notes, allow_guests, trip_type_id, always_show, is_locked
FROM trip
INNER JOIN trip_details ON trip.trip_details_id = trip_details.id
INNER JOIN user ON trip.cox_id = user.id

View File

@ -26,6 +26,13 @@ pub struct User {
pub sex: Option<String>,
pub deleted: bool,
pub last_access: Option<chrono::NaiveDateTime>,
pub member_since_date: Option<String>,
pub birthdate: Option<String>,
pub mail: Option<String>,
pub nickname: Option<String>,
pub notes: Option<String>,
pub phone: Option<String>,
pub address: Option<String>,
}
#[derive(Debug, Serialize, Deserialize)]
@ -154,7 +161,7 @@ impl User {
sqlx::query_as!(
Self,
"
SELECT id, name, pw, deleted, last_access, dob, weight, sex
SELECT id, name, pw, deleted, last_access, dob, weight, sex, member_since_date, birthdate, mail, nickname, notes, phone, address
FROM user
WHERE id like ?
",
@ -169,7 +176,7 @@ WHERE id like ?
sqlx::query_as!(
Self,
"
SELECT id, name, pw, deleted, last_access, dob, weight, sex
SELECT id, name, pw, deleted, last_access, dob, weight, sex, member_since_date, birthdate, mail, nickname, notes, phone, address
FROM user
WHERE id like ?
",
@ -184,7 +191,7 @@ WHERE id like ?
sqlx::query_as!(
Self,
"
SELECT id, name, pw, deleted, last_access, dob, weight, sex
SELECT id, name, pw, deleted, last_access, dob, weight, sex, member_since_date, birthdate, mail, nickname, notes, phone, address
FROM user
WHERE name like ?
",
@ -226,7 +233,7 @@ WHERE name like ?
sqlx::query_as!(
Self,
"
SELECT id, name, pw, deleted, last_access, dob, weight, sex
SELECT id, name, pw, deleted, last_access, dob, weight, sex, member_since_date, birthdate, mail, nickname, notes, phone, address
FROM user
WHERE deleted = 0
ORDER BY last_access DESC
@ -241,7 +248,7 @@ ORDER BY last_access DESC
sqlx::query_as!(
Self,
"
SELECT id, name, pw, deleted, last_access, dob, weight, sex
SELECT id, name, pw, deleted, last_access, dob, weight, sex, member_since_date, birthdate, mail, nickname, notes, phone, address
FROM user
WHERE deleted = 0 AND dob != '' and weight != '' and sex != ''
ORDER BY name
@ -256,7 +263,7 @@ ORDER BY name
sqlx::query_as!(
Self,
"
SELECT id, name, pw, deleted, last_access, dob, weight, sex
SELECT id, name, pw, deleted, last_access, dob, weight, sex, member_since_date, birthdate, mail, nickname, notes, phone, address
FROM user
WHERE deleted = 0 AND (SELECT COUNT(*) FROM user_role WHERE user_id=user.id AND role_id = (SELECT id FROM role WHERE name = 'cox')) > 0
ORDER BY last_access DESC
@ -276,10 +283,17 @@ ORDER BY last_access DESC
pub async fn update(&self, db: &SqlitePool, data: UserEditForm) {
sqlx::query!(
"UPDATE user SET dob = ?, weight = ?, sex = ? where id = ?",
"UPDATE user SET dob = ?, weight = ?, sex = ?, member_since_date=?, birthdate=?, mail=?, nickname=?, notes=?, phone=?, address=? where id = ?",
data.dob,
data.weight,
data.sex,
data.member_since_date,
data.birthdate,
data.mail,
data.nickname,
data.notes,
data.phone,
data.address,
self.id
)
.execute(db)
@ -653,6 +667,13 @@ mod test {
weight: None,
sex: Some("m".into()),
roles: HashMap::new(),
member_since_date: None,
birthdate: None,
mail: None,
nickname: None,
notes: None,
phone: None,
address: None,
},
)
.await;

View File

@ -82,6 +82,13 @@ pub struct UserEditForm {
pub(crate) weight: Option<String>,
pub(crate) sex: Option<String>,
pub(crate) roles: HashMap<String, String>,
pub(crate) member_since_date: Option<String>,
pub(crate) birthdate: Option<String>,
pub(crate) mail: Option<String>,
pub(crate) nickname: Option<String>,
pub(crate) notes: Option<String>,
pub(crate) phone: Option<String>,
pub(crate) address: Option<String>,
}
#[post("/user", data = "<data>")]

View File

@ -0,0 +1,318 @@
INSERT INTO role(name) VALUES ('Anwärter');
INSERT INTO role(name) VALUES ('Bootsführer');
INSERT INTO role(name) VALUES ('Donau Linz');
INSERT INTO role(name) VALUES ('Ehrenmitglied');
INSERT INTO role(name) VALUES ('Förderndes Mitglied');
INSERT INTO role(name) VALUES ('Junioren');
INSERT INTO role(name) VALUES ('Rechnungsprüfer');
INSERT INTO role(name) VALUES ('Rennrudern');
INSERT INTO role(name) VALUES ('Steuerleute');
INSERT INTO role(name) VALUES ('Unterstützend');
INSERT INTO role(name) VALUES ('Vorstand');
ALTER TABLE user ADD COLUMN "member_since_date" text;
ALTER TABLE user ADD COLUMN "birthdate" text;
ALTER TABLE user ADD COLUMN "mail" text;
ALTER TABLE user ADD COLUMN "nickname" text;
ALTER TABLE user ADD COLUMN "notes" text;
ALTER TABLE user ADD COLUMN "phone" text;
ALTER TABLE user ADD COLUMN "address" text;
UPDATE user SET member_since_date='1992-07-01', birthdate='1978-11-07', mail='allmeier.d@gmx.net, allmeier.d@gmail.com', nickname='', notes='', phone='+43 664 75040330', address='Gaumbergstr. 97, 4060 Leonding' WHERE name = 'Daniela Allmeier';
UPDATE user SET member_since_date='2014-03-14', birthdate='1953-10-16', mail='alldo@gmx.at', nickname='', notes='', phone='', address='Prechtlerstr. 80, 4030 Linz' WHERE name = 'Doris Allmeier';
UPDATE user SET member_since_date='1969-06-01', birthdate='1953-10-31', mail='allmeierkarl@gmail.com', nickname='', notes='Telefonnummer fehlt', phone='', address='Prechtlerstr. 80, 4020 Linz' WHERE name = 'Karl Allmeier';
UPDATE user SET member_since_date='2018-02-01', birthdate='2001-06-13', mail='alaa2@gmx.at', nickname='', notes='', phone='+43 664 3204217', address='Freistädterstraße 252, 4040 Linz' WHERE name = 'Alaa Almousa';
UPDATE user SET member_since_date='1991-10-01', birthdate='1964-11-17', mail='', nickname='', notes='', phone='', address='Kampmüllerweg 19, 4040 Linz' WHERE name = 'Elke Atzgerstorfer';
UPDATE user SET member_since_date='1954-05-01', birthdate='1935-11-04', mail='', nickname='', notes='', phone='', address='Kampmüllerweg 19, 4040 Linz' WHERE name = 'Eva Atzgerstorfer';
UPDATE user SET member_since_date='2021-07-08', birthdate='1994-03-07', mail='Phil.Baillon@gmx.at', nickname='', notes='', phone='+43 676 9404641', address='Lüfteneggerstr.12, 4020 Linz' WHERE name = 'Philip Baillon';
UPDATE user SET member_since_date='2017-06-30', birthdate='1964-11-12', mail='e.schahpar@eduhi.at', nickname='', notes='', phone='+43 650 6059380', address='Fraunhoferweg 7, 4030 Linz' WHERE name = 'Elfriede Baminger';
UPDATE user SET member_since_date='2023-11-10', birthdate='1995-10-20', mail='hanna.baeumer@gmx.de', nickname='', notes='', phone=', 0049 1724294053', address='Wurmstraße 8, 4020 Linz' WHERE name = 'Hanna Bäumer';
UPDATE user SET member_since_date='2023-04-02', birthdate='1981-10-04', mail='juanitoster@gmail.com', nickname='', notes='', phone='4367761201878', address='Kapuzinerstraße 3b, Top 5, 4020 Linz' WHERE name = 'Juan Francisco Bautista Serrano';
UPDATE user SET member_since_date='2022-04-11', birthdate='1971-08-16', mail='alexandra.binder71@gmail.com', nickname='', notes='', phone='+43 664 3861017', address='Reiserbauerberg 22, 4224 Wartberg ob der Aist' WHERE name = 'Alexandra Binder';
UPDATE user SET member_since_date='1992-06-01', birthdate='1962-12-04', mail='gerald.binder@mag.linz.at', nickname='', notes='', phone='+43 664 8411501', address='Nattererstr. 13, 4623 Gunskirchen' WHERE name = 'Gerald Binder';
UPDATE user SET member_since_date='2018-08-13', birthdate='1993-05-20', mail='marie.birner12@gmail.com', nickname='', notes='', phone='+43650 2607421', address='Tummelplatz 3, 4020 Linz' WHERE name = 'Marie Birner';
UPDATE user SET member_since_date='2022-09-12', birthdate='2009-12-11', mail='bogdanrichard1211@gmail.com, sarkozi.csilla@gmail.com', nickname='', notes='Mutter: Csilla Sarközi', phone='+43 664 4014351, +43 670 7010879', address='Alleitenweg 30 1/3, 4030 Linz' WHERE name = 'Richard Bogdan';
UPDATE user SET member_since_date='2022-07-21', birthdate='1969-08-31', mail='chris.commenda@gmx.net', nickname='', notes='', phone='0664 88323063', address='Figulystraße 6, 4020 Linz' WHERE name = 'Christian Commenda';
UPDATE user SET member_since_date='2019-12-19', birthdate='2006-10-16', mail='dagostici@icloud.com', nickname='', notes='Tel/Mailadresse von Ana Dagosto (Mutter)', phone='0676 5002232', address='Rosenauerstr. 8, 4040 Linz' WHERE name = 'Goran DAgosto';
UPDATE user SET member_since_date='2022-09-15', birthdate='2007-10-02', mail='daria.m.danner@gmail.com, herbert.st1@gmx.at', nickname='', notes='Herbert Stoiber (Vater)', phone='0680 2086940, 0681 10456507', address='Aubrunnerweg 19, 4040 Linz' WHERE name = 'Daria Danner';
UPDATE user SET member_since_date='2022-06-07', birthdate='1966-10-27', mail='silvia.demmig@web.de', nickname='', notes='', phone='0049 15754199531, 0688 64273891', address='Jägerstr. 14, 4040 Linz' WHERE name = 'Silvia Demmig';
UPDATE user SET member_since_date='1994-05-21', birthdate='1982-08-19', mail='dani_dieplinger@gmx.at', nickname='', notes='', phone='0664 6151462', address='Rudolfstraße 28, 4040 Linz' WHERE name = 'Daniela Dieplinger';
UPDATE user SET member_since_date='1975-06-01', birthdate='1960-09-05', mail='herbert.dieplinger@gmx.at', nickname='', notes='Telefonnummer fehlt\nKümmert sich um Hänger', phone='436503947882', address='Plesching 72, 4040 Linz' WHERE name = 'Herbert Dieplinger';
UPDATE user SET member_since_date='2021-07-27', birthdate='1980-11-18', mail='sylvi.ecker@gmail.com', nickname='', notes='', phone='+43 664 3963100', address='Reitgraben 3a, 4284 Tragwein' WHERE name = 'Sylvia Ecker';
UPDATE user SET member_since_date='2021-06-07', birthdate='1999-01-07', mail='raphaeleichhorn99@gmail.com', nickname='Fuffi', notes='', phone='+43 677 62386479', address='Rottmayrstr. 28, 4060 Leonding' WHERE name = 'Raphael Eichhorn';
UPDATE user SET member_since_date='1974-07-01', birthdate='1962-03-21', mail='', nickname='', notes='Person unbekannt, Mailadresse fehlt, Telefonnummer (https://losenstein.gem2go.page/Eisserer_Geza)', phone='+43 7255 22999', address='Hausleitenweg 5, 4522 Sierning' WHERE name = 'Geza Eisserer';
UPDATE user SET member_since_date='1973-01-01', birthdate='1939-07-23', mail='', nickname='', notes='', phone='', address='Denkstr. 23, 4030 Linz' WHERE name = 'Helga Engelbrechtslehner';
UPDATE user SET member_since_date='2011-05-25', birthdate='1964-11-22', mail='manuela.firmoetz@gmx.at', nickname='', notes='', phone='+43 650 6455117', address='Am Teich 8, 4040 Linz' WHERE name = 'Manuela Firmötz';
UPDATE user SET member_since_date='2012-01-01', birthdate='1963-03-07', mail='', nickname='', notes='', phone='', address='Auweg 7, 4201 Gramastetten' WHERE name = 'Maj-Britt Fobian';
UPDATE user SET member_since_date='2012-06-10', birthdate='1973-09-09', mail='e.foelser@gmx.at', nickname='', notes='Keine Mailbox am Handy; per Signal und SMS erreichbar\n\nNennt sich "Liesbeth"', phone='+43 650 9919739', address='Klosterstr. 6, 4020 Linz' WHERE name = 'Elisabeth Fölser';
UPDATE user SET member_since_date='2019-12-19', birthdate='2005-10-11', mail='freimuthlarissa@gmail.com, sonja.freimuth@gmx.at', nickname='', notes='', phone='', address='Billingerstr. 9, 4040 Linz' WHERE name = 'Larissa Freimuth';
UPDATE user SET member_since_date='2016-08-13', birthdate='1979-08-14', mail='ninafuereder@yahoo.de', nickname='', notes='Erneuter Eintritt 2023 - Pause für 2 Jahre (2022 & 2021)', phone='0699 17776766', address='Linke Brückenstraße 22, 4040 Linz' WHERE name = 'Nina Füreder';
UPDATE user SET member_since_date='2018-10-01', birthdate='1982-12-23', mail='betti.fuerlinger@gmail.com', nickname='', notes='', phone='+43 664 5016493', address='Ferihumerstr. 50, 4040 Linz' WHERE name = 'Bettina Fürlinger';
UPDATE user SET member_since_date='1604-01-01', birthdate='1926-10-12', mail='monika.gessl@a1.net', nickname='', notes='Telefonnummer von Christoph Gessl (Sohn)', phone='6643358066', address='Seehofstr. 12, 4863 Seewalchen am Attersee' WHERE name = 'Heinz Gessl';
UPDATE user SET member_since_date='1981-09-01', birthdate='1951-09-20', mail='helmut.gidl@liwest.at', nickname='', notes='', phone='', address='Karl-Rennerstr. 37, 4040 Linz' WHERE name = 'Helmut Gidl';
UPDATE user SET member_since_date='2023-10-23', birthdate='1992-02-10', mail='gnadlinger.tanja@gmail.com', nickname='', notes='', phone='0670 6029519', address='Albert-Schöpf-Straße 16, 4020 Linz' WHERE name = 'Tanja Gnadlinger';
UPDATE user SET member_since_date='2022-04-21', birthdate='1978-03-13', mail='mag.dr.gruber@gmail.com', nickname='', notes='', phone='0664 4151245', address='Herzogstr. 29 A, 4060 Leonding' WHERE name = 'Eva-Maria Gruber';
UPDATE user SET member_since_date='2023-10-30', birthdate='2011-05-04', mail='noah.gunesch4@gmail.com, steffi.thurnher@gmx.at', nickname='', notes='Mutter Stefanie Thurnher (Mail & Telefonnummer)\n\nPatchwork Familie: Martina Thurnher + Nadine Pesl', phone='0677 644 22433, 0650 9911993', address='Lindenweg 16/2, 4209 Engerwitzdorf' WHERE name = 'Noah Gunesch';
UPDATE user SET member_since_date='2018-07-27', birthdate='1958-07-03', mail='c.gusenbauer@outlook.de', nickname='', notes='', phone='{ +43 664 3965150', address='Stitzmühlweg 1,4180 Zwettl/Rodl, ' WHERE name = 'Christian Gusenbauer';
UPDATE user SET member_since_date='1957-07-01', birthdate='1938-03-12', mail='riad38@gmx.at', nickname='Adi', notes='', phone='', address='Ferihumerstr. 42, 4040 Linz' WHERE name = 'Adolf Hainschink';
UPDATE user SET member_since_date='1993-01-01', birthdate='1942-08-08', mail='', nickname='Ria', notes='', phone='', address='Ferihumerstr. 42, 4040 Linz' WHERE name = 'Maria Hainschink';
UPDATE user SET member_since_date='2012-08-01', birthdate='1957-03-06', mail='a.heinemann@aon.at', nickname='', notes='', phone='0699 10382751', address='Seilerstätte, 4221 Steyregg' WHERE name = 'Andrea Heinemann';
UPDATE user SET member_since_date='2012-08-01', birthdate='1958-09-30', mail='bernhard.heinemann@mait.at', nickname='', notes='', phone='+43 664 8169763', address='Seilerstätte 1, 4221 Steyregg' WHERE name = 'Bernhard Heinemann';
UPDATE user SET member_since_date='2011-02-01', birthdate='1982-12-02', mail='hoefer.moz@gmx.at', nickname='', notes='', phone='+43 650 8510909', address='Hammerweg 31/1, 4050 Traun' WHERE name = 'Matthias Höfer';
UPDATE user SET member_since_date='2021-07-01', birthdate='1997-01-29', mail='philipp@hofer.link', nickname='', notes='', phone='+43650 2836046', address='Rubinweg 8, 4225 Luftenberg' WHERE name = 'Philipp Hofer';
UPDATE user SET member_since_date='2021-07-01', birthdate='1984-01-15', mail='hoffelnert@gmx.at', nickname='', notes='', phone='+43 677 63178221', address='Reischekstr. 8a, 4240 Freistadt' WHERE name = 'Thomas Hoffelner';
UPDATE user SET member_since_date='1987-07-01', birthdate='1946-09-13', mail='heinz.hoellersberger@gmail.com', nickname='', notes='', phone='0676 5000511', address='Hofbauerweg 40, 4040 Linz' WHERE name = 'Heinz Höllersberger';
UPDATE user SET member_since_date='1980-08-01', birthdate='1946-03-21', mail='harald.iro@gmx.at', nickname='', notes='', phone='6508705823', address='Werndlstr. 58, 4020 Linz' WHERE name = 'Harald Iro';
UPDATE user SET member_since_date='2014-07-12', birthdate='1969-03-11', mail='claudia.jagersberger@jku.at', nickname='', notes='', phone='+43 650 7595460', address='Ferihumerstr. 42, 4040 Linz' WHERE name = 'Claudia Jagersberger';
UPDATE user SET member_since_date='2019-02-18', birthdate='1986-09-25', mail='melanie.keplinger@gmx.at', nickname='', notes='', phone='66060756', address='Mitterbergerweg 2a/B04, 4040 Linz' WHERE name = 'Melanie Keplinger';
UPDATE user SET member_since_date='1954-05-01', birthdate='1939-03-05', mail='ernst.klima@liwest.at', nickname='', notes='', phone='+43 699 81952741', address='Schaunbergerstr. 66, 4020 Linz' WHERE name = 'Ernst Klima';
UPDATE user SET member_since_date='1958-06-01', birthdate='1939-12-15', mail='', nickname='', notes='', phone='', address='Schaunbergerstr. 66, 4020 Linz' WHERE name = 'Herta Klima';
UPDATE user SET member_since_date='', birthdate='1965-10-05', mail='jklima@hawle.at', nickname='Thomas', notes='Beitrittsdatum fehlt', phone='+43 664 60576327', address='Hofgasse 22/3, 4020 Linz' WHERE name = 'Thomas Klima';
UPDATE user SET member_since_date='2009-11-15', birthdate='1964-04-12', mail='margit.bencic@mic-cust.com', nickname='', notes='', phone='+43 664 8264033', address='Hofgasse 22/3, 4020 Linz' WHERE name = 'Margit Klima-Bencic';
UPDATE user SET member_since_date='2018-07-27', birthdate='1958-02-28', mail='klug.ingrid@gmx.at', nickname='', notes='', phone='+43 664 2006567', address='Heilhamer Weg 1, 4040 Linz' WHERE name = 'Ingrid Klug';
UPDATE user SET member_since_date='2017-09-01', birthdate='2002-09-04', mail='max.knauseder@gmx.at', nickname='', notes='', phone='', address='Stefan-Fechter-Weg 8, 4020 Linz' WHERE name = 'Max Knauseder';
UPDATE user SET member_since_date='2016-12-01', birthdate='2000-03-24', mail='paul.knauseder@gmail.com', nickname='', notes='', phone='+43680 2254611', address='Stefan-Fechter-Weg 8, 4020 Linz' WHERE name = 'Paul Knauseder';
UPDATE user SET member_since_date='2008-01-01', birthdate='1969-02-14', mail='h.koch@sportkoch.at', nickname='', notes='', phone='0699 10921653, 0722961387', address='Auweg 7, 4040 Grossamberg' WHERE name = 'Harald Koch';
UPDATE user SET member_since_date='1989-01-01', birthdate='1959-05-19', mail='johann.koci@aon.at', nickname='', notes='Telefonnummer unbekannt,', phone='', address='Oberschaden 44, 4070 Pupping' WHERE name = 'Johann Koci';
UPDATE user SET member_since_date='2018-08-28', birthdate='1979-06-03', mail='daniel.kortschak@T-online.de', nickname='', notes='', phone='+43 677 64828854', address='Anzengruberstr. 3/3, 4020 Linz' WHERE name = 'Daniel Kortschak';
UPDATE user SET member_since_date='2023-06-14', birthdate='2008-03-05', mail='kranz@sportplusmedizin.at, simonkranz2004@icloud.com', nickname='', notes='Mutter: Dr. Silke Kranz-Breitschopf', phone='06504293256, 06642538419', address='Langfeldstraße 55, 4040 Plesching' WHERE name = 'Simon Kranz';
UPDATE user SET member_since_date='1958-05-01', birthdate='1942-07-24', mail='manfred.krausbar@aon.at', nickname='', notes='Ernst oder Adi wegen Telefonnummer befragen', phone='', address='Amberg 14, 4201 Grammastetten' WHERE name = 'Manfred Krausbar';
UPDATE user SET member_since_date='2022-07-06', birthdate='1996-02-27', mail='kriechbaum.verena@a1.net', nickname='', notes='', phone='69915054347', address='Mannheimstraße 4/7/44, 4040 Linz' WHERE name = 'Verena Kriechbaum';
UPDATE user SET member_since_date='2022-07-12', birthdate='1999-01-25', mail='martin_kugler@gmx.de', nickname='', notes='', phone='+49 176 57736216', address='Lessingstraße 4, 4020 Linz' WHERE name = 'Martin Kugler';
UPDATE user SET member_since_date='2021-08-31', birthdate='1996-11-26', mail='fabian.kunz96@gmail.com', nickname='', notes='', phone='+43 677 62333992', address='Altenbergerstr. 72, 4040 Linz' WHERE name = 'Fabian Kunz';
UPDATE user SET member_since_date='', birthdate='', mail='', nickname='', notes='Zahlung von 100 bar am 27.12', phone='', address='' WHERE name = 'Heinrich Kupka';
UPDATE user SET member_since_date='2021-06-24', birthdate='1981-04-01', mail='anna.kuthan@gmail.com', nickname='', notes='wollen nur die Hälfte zahlen, nicht genehmigt', phone='+43 681 10863359', address='Strabergerstr. 12/4, 4040 Linz' WHERE name = 'Anna Kuthan';
UPDATE user SET member_since_date='2022-09-13', birthdate='2010-05-24', mail='mona_lach@yahoo.de, moritz.la@gmx.at', nickname='', notes='Mutter: Mona Lach\n\nSchnupperrrudertage', phone='0650 3300340, 0670 5052017', address='Weinbergerstr. 44, 4061 Pasching' WHERE name = 'Moritz Lach';
UPDATE user SET member_since_date='2022-08-11', birthdate='1973-03-12', mail='claudia-post@gmx.at', nickname='', notes='', phone='0650 7000551', address='Figulystraße 4, 4020 Linz' WHERE name = 'Claudia Lackinger';
UPDATE user SET member_since_date='1955-07-01', birthdate='1933-12-22', mail='', nickname='', notes='', phone='+43 732 715619', address='Jägerstr. 9, 4040 Linz' WHERE name = 'Erich Lehner';
UPDATE user SET member_since_date='1979-05-01', birthdate='1966-09-06', mail='roland@expressu.at', nickname='', notes='', phone='0664 820 8001', address='Am Kammererholz 4, 4073 Wilhering' WHERE name = 'Roland Lehner';
UPDATE user SET member_since_date='2018-01-23', birthdate='1970-10-23', mail='matthias.list@dioezese-linz.at', nickname='', notes='', phone='+43 676 87765200', address='Spazenhofstr.22/10, 4040 Linz' WHERE name = 'Matthias List';
UPDATE user SET member_since_date='2023-07-13', birthdate='1985-08-31', mail='info.melanieludwig@gmx.at', nickname='', notes='', phone='6607709648', address='Heindlstraße 14, 4040 Linz' WHERE name = 'Melanie Ludwig';
UPDATE user SET member_since_date='2009-09-07', birthdate='1971-02-01', mail='manfred.meindl@aon.at', nickname='', notes='', phone='+43 650 6634635', address='Ferihumerstr. 42, 4040 Linz' WHERE name = 'Manfred Meindl';
UPDATE user SET member_since_date='2005-04-15', birthdate='1977-04-18', mail='michaelmessner@gmx.at', nickname='', notes='', phone='0699 10721125', address='Linzerstr. 71/4, 4100 Ottensheim' WHERE name = 'Michael Messner';
UPDATE user SET member_since_date='2023-09-04', birthdate='1998-12-11', mail='c.meusburger@hotmail.com', nickname='', notes='', phone='69916417678', address='Nisslstraße 5, 4040 Linz' WHERE name = 'Clara Meusburger';
UPDATE user SET member_since_date='2023-10-30', birthdate='2010-10-21', mail='martinathurnher@gmx.at, nadine.pesl@gmail.com', nickname='', notes='Mutter Martina Thurnher (Mail & Telefonnummer)\n\nPatchwork Familie: Stefanie Thurnher + Noah Gunesch', phone='0677 64422430, 0699 12618269', address='Lindenweg 16/2, 4209 Engerwitzdorf' WHERE name = 'Nadine Pesl';
UPDATE user SET member_since_date='1973-01-01', birthdate='1947-01-15', mail='elpri@a1.net', nickname='', notes='Telefonnummer fehlt', phone='', address='Prandtauerstr. 22, 4040 Linz' WHERE name = 'Elfriede Prinz';
UPDATE user SET member_since_date='2022-07-07', birthdate='2000-07-04', mail='carmenpusch43@gmail.com', nickname='', notes='', phone='0650 5780908', address='Obermüllnerweg 19, 4040 Linz' WHERE name = 'Carmen Pusch';
UPDATE user SET member_since_date='1969-01-01', birthdate='1952-04-16', mail='h.radinger@eduhi.at', nickname='', notes='', phone='0676 6097326', address='Fischerg. 15, 4072 Alkoven' WHERE name = 'Heinz Radinger';
UPDATE user SET member_since_date='1969-02-01', birthdate='1946-05-26', mail='', nickname='', notes='E-Mail fehlen', phone='0664 2074151', address='Hagenberg 262, 4232 Hagenberg' WHERE name = 'Hermann Remplbauer';
UPDATE user SET member_since_date='2018-04-30', birthdate='1965-09-26', mail='b.riss@scs-technology.at', nickname='', notes='', phone='0650 3813362', address='Am Bachlbergweg 83 A, 4040 Linz' WHERE name = 'Burkhard Riss';
UPDATE user SET member_since_date='2021-09-01', birthdate='1986-12-25', mail='christiane.rueckerl@gmx.de', nickname='', notes='', phone='+43 664 60295601', address='Auweg 5, 4222 Langenstein' WHERE name = 'Christiane Rückerl';
UPDATE user SET member_since_date='1973-06-01', birthdate='1957-09-06', mail='andrea1.sageder@gmail.com', nickname='', notes='', phone='+43 644 73822708', address='Lassersdorf 38, 4201 Gramastetten' WHERE name = 'Andrea Sageder';
UPDATE user SET member_since_date='1988-11-01', birthdate='1966-06-19', mail='Birgit.Sageder@swisslife-select.at', nickname='', notes='', phone='+43 650 5531665', address='Lichtenbergerstraße 92/Neubau, 4201 Eidenberg' WHERE name = 'Birgit Sageder';
UPDATE user SET member_since_date='1971-09-01', birthdate='1959-04-27', mail='michi.sport@icloud.com', nickname='', notes='', phone='+43 0664 75007443', address='Lichtenbergerstr. 92, 4201 Eidenberg' WHERE name = 'Michael Sageder';
UPDATE user SET member_since_date='2004-01-01', birthdate='1993-03-21', mail='niklas93@gmx.at', nickname='', notes='', phone='+43 650 2500105', address='Freistädterstraße 74, 4040 Linz' WHERE name = 'Niklas Sageder';
UPDATE user SET member_since_date='1989-08-21', birthdate='1980-01-25', mail='', nickname='', notes='Adresse falsch?? Vorarlberg?\n\nMailadresse nicht mehr aktuell', phone='', address='Lassersdorf 38, 4201 Gramastetten' WHERE name = 'Sebastian Sageder';
UPDATE user SET member_since_date='1971-09-01', birthdate='1957-07-30', mail='sigiwave@gmail.com', nickname='', notes='', phone='+43 677 99022174', address='Lassersdorf 38, 4201 Grammastetten' WHERE name = 'Siegfried Sageder';
UPDATE user SET member_since_date='2022-07-06', birthdate='2000-06-14', mail='l.schedlberger@gmail.com', nickname='', notes='', phone='+43 650 4001462', address='Tummelplatz 3/7, 4020 Linz' WHERE name = 'Lisa-Maria Schedlberger';
UPDATE user SET member_since_date='1993-11-25', birthdate='1934-06-30', mail='schellenbacher.boats@utanet.at', nickname='', notes='', phone='0664 2817929', address='Reuterleiten 6, 4048 Puchenau' WHERE name = 'Max Schellenbacher';
UPDATE user SET member_since_date='2022-08-01', birthdate='1949-09-16', mail='klausschlogl@gmail.com', nickname='', notes='', phone='0699 81692287', address='Neufahrergasse 52, 4040 Linz' WHERE name = 'Klaus Schlögl';
UPDATE user SET member_since_date='1973-01-01', birthdate='1948-02-05', mail='wolfgang.schlogl@gmail.com', nickname='', notes='', phone='0650 8809510', address='Mittelpromenade 55, 4048 Puchenau' WHERE name = 'Wolfgang Schlögl';
UPDATE user SET member_since_date='2023-09-14', birthdate='1985-11-21', mail='a.schopper@liwest.at', nickname='', notes='', phone='0677 99019809', address='Ziererfeldstraße 8, 4030 Linz' WHERE name = 'Andreas Schopper';
UPDATE user SET member_since_date='2020-01-01', birthdate='2007-02-22', mail='tina.schwendinger@gmail.com', nickname='Caro', notes='E-Mail: Martina Schwendinger (Mutter)', phone='', address='Holunderweg 17, 4622 Eggendorf' WHERE name = 'Caroline Schwendinger';
UPDATE user SET member_since_date='2021-01-01', birthdate='2003-07-16', mail='silberkrisi17@gmail.com', nickname='', notes='', phone='0660 6757010, 0699 13259592', address='Holunderweg 17, 4622 Eggendorf' WHERE name = 'Kristina Schwendinger';
UPDATE user SET member_since_date='2022-12-29', birthdate='1969-04-11', mail='tina.schwendinger@gmail.com', nickname='', notes='', phone='0660 6757010', address='Holunderweg 17, 4622 Eggendorf im Traunkreis' WHERE name = 'Martina Schwendinger';
UPDATE user SET member_since_date='2022-09-07', birthdate='1994-08-11', mail='stephan.siegl@me.com', nickname='', notes='', phone='436604540530', address='Cremeristraße 5/9, 4020 Linz' WHERE name = 'Stephan Siegl';
UPDATE user SET member_since_date='2011-09-13', birthdate='1986-11-09', mail='sandra.sollberger@gmail.com', nickname='', notes='', phone='+43 664 2424606', address='Reischekstr.8a, 4240 Freistadt' WHERE name = 'Sandra Sollberger';
UPDATE user SET member_since_date='2016-07-01', birthdate='1983-05-30', mail='stadlermichael@gmx.at', nickname='', notes='Zahlung im Mai abwarten', phone='', address='Grünau 39, 4312 Ried/Riedm.' WHERE name = 'Michael Stadler';
UPDATE user SET member_since_date='2022-07-20', birthdate='2001-12-08', mail='edith.steinacker@hotmail.com', nickname='', notes='', phone='0660 7015077', address='Pulvermühlstraße 41 1/130, 4040 Linz' WHERE name = 'Edith Steinacker';
UPDATE user SET member_since_date='2022-02-12', birthdate='1989-04-04', mail='ilona.stuetz@ufg.at', nickname='', notes='', phone='6802319482', address='Honauerstraße 31a, 4020 Linz' WHERE name = 'Ilona Stütz';
UPDATE user SET member_since_date='2018-04-30', birthdate='1967-08-22', mail='elisabeth.totschnig@gmx.at', nickname='', notes='', phone='0650 2208678', address='Bachlbergw. 83 A, 4040 Linz' WHERE name = 'Elisabeth Totschnig';
UPDATE user SET member_since_date='2022-05-11', birthdate='2007-10-31', mail='atharvatyagi@icloud.com, sandeeptyagi@hotmail.com', nickname='', notes='Sandeep Tyagi (Erziehungsberechtigter)', phone='0664 8325697, 0699 18743639', address='Böhmerwaldstraße 18/2/4, 4020 Linz' WHERE name = 'Atharva Tyagi';
UPDATE user SET member_since_date='2019-01-01', birthdate='', mail='webermedicus@hotmail.com', nickname='', notes='', phone='0650 8808368', address='Baumgarten 8, 4012 Neumarkt' WHERE name = 'Friedrich Weber';
UPDATE user SET member_since_date='2023-07-12', birthdate='2001-03-19', mail='e.weitmayr@gmx.at', nickname='', notes='', phone='0677 61246226', address='Altenbergerstraße 74/135, 4040 Linz' WHERE name = 'Elias Weitmayr';
UPDATE user SET member_since_date='2016-06-16', birthdate='1983-04-27', mail='l.wessely@gmx.at', nickname='', notes='', phone='0664 601655664', address='Streimlingweg 15, 4040 Linz' WHERE name = 'Lukas Wessely';
UPDATE user SET member_since_date='2023-09-05', birthdate='2000-01-14', mail='wiesersophia@gmail.com', nickname='', notes='', phone='0664 4842659', address='Rudolfstraße 60/9, 4040 Linz' WHERE name = 'Sophia Wieser';
UPDATE user SET member_since_date='1963-06-01', birthdate='1942-11-30', mail='erich.zauner@liwest.at', nickname='', notes='', phone='+43 677 61608788', address='Stockholmweg 15, 4040 Linz' WHERE name = 'Erich Zauner';
UPDATE user SET member_since_date='1971-06-01', birthdate='1954-05-01', mail='renate.zehetner@liwest.at', nickname='', notes='', phone='', address='Im Schneiderhölzl 24, 4048 Puchenau' WHERE name = 'Renate Zehetner';
UPDATE user SET member_since_date='2022-11-21', birthdate='1998-05-06', mail='agi_zuljevic@hotmail.com', nickname='', notes='Nur für Kraftkammer, Dezember noch ohne Zahlung. Ab 2023 Zahlung fällig', phone='0650 8893830', address='Karlhofstraße 6, 4040 Linz' WHERE name = 'Augustin Zuljevic';
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Daniela Allmeier'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Daniela Allmeier'), (SELECT id FROM role WHERE name = 'Bootsführer'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Daniela Allmeier'), (SELECT id FROM role WHERE name = 'Vorstand'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Doris Allmeier'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Karl Allmeier'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Karl Allmeier'), (SELECT id FROM role WHERE name = 'Bootsführer'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Karl Allmeier'), (SELECT id FROM role WHERE name = 'Vorstand'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Alaa Almousa'), (SELECT id FROM role WHERE name = 'Rennrudern'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Alaa Almousa'), (SELECT id FROM role WHERE name = 'Anwärter'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Alaa Almousa'), (SELECT id FROM role WHERE name = 'Vorstand'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Alaa Almousa'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Elke Atzgerstorfer'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Elke Atzgerstorfer'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Eva Atzgerstorfer'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Eva Atzgerstorfer'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Philip Baillon'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Philip Baillon'), (SELECT id FROM role WHERE name = 'Anwärter'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Elfriede Baminger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Elfriede Baminger'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Hanna Bäumer'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Juan Francisco Bautista Serrano'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Alexandra Binder'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Gerald Binder'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Marie Birner'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Marie Birner'), (SELECT id FROM role WHERE name = 'Vorstand'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Marie Birner'), (SELECT id FROM role WHERE name = 'Bootsführer'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Richard Bogdan'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Richard Bogdan'), (SELECT id FROM role WHERE name = 'Junioren'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Christian Commenda'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Goran DAgosto'), (SELECT id FROM role WHERE name = 'Junioren'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Goran DAgosto'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Goran DAgosto'), (SELECT id FROM role WHERE name = 'Rennrudern'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Daria Danner'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Daria Danner'), (SELECT id FROM role WHERE name = 'Junioren'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Silvia Demmig'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Daniela Dieplinger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Herbert Dieplinger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Sylvia Ecker'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Raphael Eichhorn'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Geza Eisserer'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Geza Eisserer'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Helga Engelbrechtslehner'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Helga Engelbrechtslehner'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Manuela Firmötz'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Manuela Firmötz'), (SELECT id FROM role WHERE name = 'Steuerleute'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Maj-Britt Fobian'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Elisabeth Fölser'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Larissa Freimuth'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Larissa Freimuth'), (SELECT id FROM role WHERE name = 'Rennrudern'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Larissa Freimuth'), (SELECT id FROM role WHERE name = 'Junioren'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Nina Füreder'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Bettina Fürlinger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Bettina Fürlinger'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Heinz Gessl'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Helmut Gidl'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Helmut Gidl'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Tanja Gnadlinger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Eva-Maria Gruber'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Eva-Maria Gruber'), (SELECT id FROM role WHERE name = 'Anwärter'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Noah Gunesch'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Noah Gunesch'), (SELECT id FROM role WHERE name = 'Junioren'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Christian Gusenbauer'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Christian Gusenbauer'), (SELECT id FROM role WHERE name = 'Steuerleute'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Adolf Hainschink'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Adolf Hainschink'), (SELECT id FROM role WHERE name = 'Bootsführer'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Adolf Hainschink'), (SELECT id FROM role WHERE name = 'Rechnungsprüfer'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Maria Hainschink'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Andrea Heinemann'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Bernhard Heinemann'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Bernhard Heinemann'), (SELECT id FROM role WHERE name = 'Vorstand'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Matthias Höfer'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Matthias Höfer'), (SELECT id FROM role WHERE name = 'Bootsführer'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Philipp Hofer'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Philipp Hofer'), (SELECT id FROM role WHERE name = 'Steuerleute'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Philipp Hofer'), (SELECT id FROM role WHERE name = 'Vorstand'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Thomas Hoffelner'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Heinz Höllersberger'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Harald Iro'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Claudia Jagersberger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Melanie Keplinger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Melanie Keplinger'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Ernst Klima'), (SELECT id FROM role WHERE name = 'Ehrenmitglied'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Ernst Klima'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Ernst Klima'), (SELECT id FROM role WHERE name = 'Bootsführer'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Ernst Klima'), (SELECT id FROM role WHERE name = 'Rechnungsprüfer'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Herta Klima'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Thomas Klima'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Thomas Klima'), (SELECT id FROM role WHERE name = 'Bootsführer'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Margit Klima-Bencic'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Ingrid Klug'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Max Knauseder'), (SELECT id FROM role WHERE name = 'Junioren'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Max Knauseder'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Paul Knauseder'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Harald Koch'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Johann Koci'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Daniel Kortschak'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Daniel Kortschak'), (SELECT id FROM role WHERE name = 'Vorstand'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Daniel Kortschak'), (SELECT id FROM role WHERE name = 'Steuerleute'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Simon Kranz'), (SELECT id FROM role WHERE name = 'Junioren'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Simon Kranz'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Manfred Krausbar'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Manfred Krausbar'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Verena Kriechbaum'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Martin Kugler'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Fabian Kunz'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Heinrich Kupka'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Heinrich Kupka'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Anna Kuthan'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Moritz Lach'), (SELECT id FROM role WHERE name = 'Junioren'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Moritz Lach'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Claudia Lackinger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Erich Lehner'), (SELECT id FROM role WHERE name = 'Ehrenmitglied'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Erich Lehner'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Roland Lehner'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Matthias List'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Melanie Ludwig'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Manfred Meindl'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Manfred Meindl'), (SELECT id FROM role WHERE name = 'Bootsführer'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Manfred Meindl'), (SELECT id FROM role WHERE name = 'Vorstand'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Michael Messner'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Clara Meusburger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Nadine Pesl'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Nadine Pesl'), (SELECT id FROM role WHERE name = 'Junioren'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Elfriede Prinz'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Carmen Pusch'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Heinz Radinger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Hermann Remplbauer'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Hermann Remplbauer'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Burkhard Riss'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Christiane Rückerl'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Christiane Rückerl'), (SELECT id FROM role WHERE name = 'Förderndes Mitglied'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Andrea Sageder'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Birgit Sageder'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Michael Sageder'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Michael Sageder'), (SELECT id FROM role WHERE name = 'Rennrudern'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Michael Sageder'), (SELECT id FROM role WHERE name = 'Bootsführer'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Michael Sageder'), (SELECT id FROM role WHERE name = 'Vorstand'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Niklas Sageder'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Niklas Sageder'), (SELECT id FROM role WHERE name = 'Rennrudern'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Niklas Sageder'), (SELECT id FROM role WHERE name = 'Vorstand'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Sebastian Sageder'), (SELECT id FROM role WHERE name = 'Ehrenmitglied'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Sebastian Sageder'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Siegfried Sageder'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Siegfried Sageder'), (SELECT id FROM role WHERE name = 'Bootsführer'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Lisa-Maria Schedlberger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Max Schellenbacher'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Max Schellenbacher'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Klaus Schlögl'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Wolfgang Schlögl'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Andreas Schopper'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Andreas Schopper'), (SELECT id FROM role WHERE name = 'Förderndes Mitglied'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Caroline Schwendinger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Caroline Schwendinger'), (SELECT id FROM role WHERE name = 'Rennrudern'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Caroline Schwendinger'), (SELECT id FROM role WHERE name = 'Junioren'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Kristina Schwendinger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Kristina Schwendinger'), (SELECT id FROM role WHERE name = 'Rennrudern'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Kristina Schwendinger'), (SELECT id FROM role WHERE name = 'Junioren'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Martina Schwendinger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Stephan Siegl'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Sandra Sollberger'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Sandra Sollberger'), (SELECT id FROM role WHERE name = 'Bootsführer'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Sandra Sollberger'), (SELECT id FROM role WHERE name = 'Vorstand'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Michael Stadler'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Michael Stadler'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Edith Steinacker'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Ilona Stütz'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Elisabeth Totschnig'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Atharva Tyagi'), (SELECT id FROM role WHERE name = 'Junioren'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Atharva Tyagi'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Friedrich Weber'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Friedrich Weber'), (SELECT id FROM role WHERE name = 'Förderndes Mitglied'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Elias Weitmayr'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Lukas Wessely'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Lukas Wessely'), (SELECT id FROM role WHERE name = 'Steuerleute'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Lukas Wessely'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Sophia Wieser'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Erich Zauner'), (SELECT id FROM role WHERE name = 'Vorstand'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Erich Zauner'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Renate Zehetner'), (SELECT id FROM role WHERE name = 'Donau Linz'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Renate Zehetner'), (SELECT id FROM role WHERE name = 'Unterstützend'));
INSERT INTO user_role (user_id, role_id) VALUES ((SELECT id FROM user where name = 'Augustin Zuljevic'), (SELECT id FROM role WHERE name = 'Donau Linz'));

View File

@ -35,7 +35,12 @@
<div class="bg-primary-100 dark:bg-primary-950 p-3 rounded-b-md grid gap-4">
<div id="filter-result-js" class="text-primary-950 dark:text-white text-right"></div>
{% for user in users %}
<div data-filterable="true" data-filter="{{ user.name }}">
<div data-filterable="true" data-filter="{{ user.name }}
{% for role in user.roles %}
role-{{role}}
{% endfor%}
">
<form action="/admin/user" method="post" class="bg-white dark:bg-primary-900 p-3 rounded-md w-full">
<div class="w-full grid gap-3">
<input type="hidden" name="id" value="{{ user.id }}"/>
@ -55,6 +60,13 @@
{{ macros::input(label='DOB', name='dob', id=loop.index, type="text", value=user.dob) }}
{{ macros::input(label='Weight (kg)', name='weight', id=loop.index, type="text", value=user.weight) }}
{{ macros::input(label='Sex', name='sex', id=loop.index, type="text", value=user.sex) }}
{{ macros::input(label='Mitglied seit', name='member_since_date', id=loop.index, type="text", value=user.member_since_date) }}
{{ macros::input(label='Geburtsdatum', name='birthdate', id=loop.index, type="text", value=user.birthdate) }}
{{ macros::input(label='Mail', name='mail', id=loop.index, type="text", value=user.mail) }}
{{ macros::input(label='Nickname', name='nickname', id=loop.index, type="text", value=user.nickname) }}
{{ macros::input(label='Notizen', name='notes', id=loop.index, type="text", value=user.notes) }}
{{ macros::input(label='Telefon', name='phone', id=loop.index, type="text", value=user.phone) }}
{{ macros::input(label='Adresse', name='address', id=loop.index, type="text", value=user.address) }}
</div>
</div>
<div class="mt-3 text-right">