added feiertage to database + endpoint to insert every year

This commit is contained in:
2025-12-23 12:21:03 +01:00
parent f562ef2a33
commit 3439fff841
11 changed files with 245 additions and 88 deletions

View File

@@ -109,7 +109,9 @@ DROP TABLE IF EXISTS "s_feiertage";
CREATE TABLE "s_feiertage" (
"counter_id" serial PRIMARY KEY NOT NULL,
"datum" date NOT NULL,
"name" varchar(100) NOT NULL
"name" varchar(100) NOT NULL,
"wiederholen" smallint NOT NULL DEFAULT 0,
"arbeitszeit_equivalent" smallint NOT NULL DEFAULT 100
);
CREATE UNIQUE index feiertage_unique_pro_jahr on s_feiertage (