Daten um Vermesser und Aufnahmedatum erweitert

This commit is contained in:
2023-04-24 14:27:50 +02:00
parent 8bfe685072
commit d511c74509
8 changed files with 55 additions and 19 deletions

View File

@@ -1,7 +1,3 @@
-- Table: public.schacht
-- DROP TABLE IF EXISTS public.schacht;
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 ),
@@ -13,6 +9,8 @@ CREATE TABLE IF NOT EXISTS public.schacht
sohlhochwert numeric(18,4),
sohlhoehe numeric(18,4) NOT NULL,
entwaesserung integer NOT NULL,
vermesser text COLLATE pg_catalog."default",
aufnahmedatum text COLLATE pg_catalog."default",
ref_projekt_id integer,
CONSTRAINT "PK_schacht" PRIMARY KEY (schacht_id),
CONSTRAINT "FK_schacht_Projekte_ProjektId" FOREIGN KEY (ref_projekt_id)