Kandis exporter geschrieben

Deckel und Sohlhöhe werden gespeichert
This commit is contained in:
2023-04-19 20:52:02 +02:00
parent 1555e54e82
commit 0877d2b308
16 changed files with 400 additions and 112 deletions

View File

@@ -6,14 +6,16 @@ CREATE TABLE IF NOT EXISTS public.schacht
(
schacht_id integer NOT NULL GENERATED BY DEFAULT AS IDENTITY ( INCREMENT 1 START 1 MINVALUE 1 MAXVALUE 2147483647 CACHE 1 ),
objektbezeichnung text COLLATE pg_catalog."default",
rechtswert numeric(18,4) NOT NULL,
hochwert numeric(18,4) NOT NULL,
sohlhoehe numeric(18,4) NOT NULL,
deckelrechtswert numeric(18,4) NOT NULL,
deckelhochwert numeric(18,4) NOT NULL,
deckelhoehe numeric(18,4) NOT NULL,
sohlrechtswert numeric(18,4),
sohlhochwert numeric(18,4),
sohlhoehe numeric(18,4) NOT NULL,
entwaesserung integer NOT NULL,
ref_projekt_id integer,
CONSTRAINT "PK_Schaechte" PRIMARY KEY (schacht_id),
CONSTRAINT "FK_Schaechte_Projekte_ProjektId" FOREIGN KEY (ref_projekt_id)
CONSTRAINT "PK_schacht" PRIMARY KEY (schacht_id),
CONSTRAINT "FK_schacht_Projekte_ProjektId" FOREIGN KEY (ref_projekt_id)
REFERENCES public.projekt (projekt_id) MATCH SIMPLE
ON UPDATE NO ACTION
ON DELETE NO ACTION