added public holidays + updated templ to v0.3.960
Some checks failed
Tests / Run Go Tests (push) Failing after 1m33s
Some checks failed
Tests / Run Go Tests (push) Failing after 1m33s
This commit is contained in:
11
migrations/20251217215955_feiertage.up.sql
Normal file
11
migrations/20251217215955_feiertage.up.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- set comment to column: "arbeitszeit_equivalent" on table: "s_abwesenheit_typen"
|
||||
COMMENT ON COLUMN "s_abwesenheit_typen"."arbeitszeit_equivalent" IS '0=keine Arbeitszeit; -1=Arbeitszeit auffüllen; <=1 - 100 => Arbeitszeit pro Tag prozentual';
|
||||
-- create "s_feiertage" table
|
||||
CREATE TABLE "s_feiertage" (
|
||||
"counter_id" serial NOT NULL,
|
||||
"datum" date NOT NULL,
|
||||
"name" character varying(100) NOT NULL,
|
||||
PRIMARY KEY ("counter_id")
|
||||
);
|
||||
-- create index "feiertage_unique_pro_jahr" to table: "s_feiertage"
|
||||
CREATE UNIQUE INDEX "feiertage_unique_pro_jahr" ON "s_feiertage" ((EXTRACT(year FROM datum)), "name");
|
||||
Reference in New Issue
Block a user