Compare commits

...

2 Commits

Author SHA1 Message Date
f8e0cd2d5b Merge pull request 'deployed :-)' (#467) from show-waterlevel into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 8m14s
CI/CD Pipeline / deploy-staging (push) Successful in 5m53s
CI/CD Pipeline / deploy-main (push) Has been skipped
Reviewed-on: #467
2024-04-30 14:35:45 +02:00
9fda9cbde2 deployed :-)
All checks were successful
CI/CD Pipeline / test (push) Successful in 8m41s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-04-30 14:35:30 +02:00

View File

@ -1,15 +1,3 @@
CREATE TABLE IF NOT EXISTS "waterlevel" (
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
"day" DATE NOT NULL,
"time" TEXT NOT NULL,
"max" INTEGER NOT NULL,
"min" INTEGER NOT NULL,
"mittel" INTEGER NOT NULL,
"tumax" INTEGER NOT NULL,
"tumin" INTEGER NOT NULL,
"tumittel" INTEGER NOT NULL
);
-- test user
INSERT INTO user(name) VALUES('Marie');
INSERT INTO "user_role" (user_id, role_id) VALUES((SELECT id from user where name = 'Marie'),(SELECT id FROM role where name = 'Donau Linz'));