From 67caf05278f958727b28318323cdee93d802d618 Mon Sep 17 00:00:00 2001 From: Janne Jakob Fleischer Date: Mon, 27 Jun 2022 12:38:24 +0200 Subject: [PATCH] =?UTF-8?q?Datentyp=20f=C3=BCr=20XP=5FObjekt.text=20von=20?= =?UTF-8?q?varchar(255)=20zu=20text=20ge=C3=A4ndert.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- XP_Basisschema.sql | 2 +- fix_52.sql | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/XP_Basisschema.sql b/XP_Basisschema.sql index 978f514..9a075a1 100755 --- a/XP_Basisschema.sql +++ b/XP_Basisschema.sql @@ -1368,7 +1368,7 @@ COMMENT ON COLUMN "XP_Basisobjekte"."XP_WirksamkeitBedingung"."datumRelativ" IS CREATE TABLE "XP_Basisobjekte"."XP_Objekt" ( "gid" BIGINT NOT NULL DEFAULT nextval('"XP_Basisobjekte"."XP_Objekt_gid_seq"'), "uuid" VARCHAR(64) NULL , - "text" VARCHAR(255) NULL , + "text" text NULL , "rechtsstand" INTEGER NULL , "gesetzlicheGrundlage" INTEGER NULL , "gliederung1" VARCHAR(255) NULL , diff --git a/fix_52.sql b/fix_52.sql index ed6c0c6..3c37554 100644 --- a/fix_52.sql +++ b/fix_52.sql @@ -211,6 +211,13 @@ ALTER TABLE "XP_Basisobjekte"."XP_Bereich_refScan" ADD CONSTRAINT "fk_XP_Bereich ALTER TABLE "FP_Basisobjekte"."FP_Plan" RENAME "aufstellungsbechlussDatum" TO "aufstellungsbeschlussDatum"; COMMENT ON COLUMN "FP_Basisobjekte"."FP_Plan"."aufstellungsbeschlussDatum" IS 'Datum des Plan-Aufstellungsbeschlusses.'; +-- ändere datentyp varchar(255) zu text +-- ----------------------------------------------------- +-- Table "XP_Basisobjekte"."XP_Objekt" +-- ----------------------------------------------------- +ALTER TABLE "XP_Basisobjekte"."XP_Objekt" ALTER COLUMN "text" SET DATA TYPE text; + + -- füge fehlendes Attribut XP_Objekt.refBegruendungInhalt ein -- ----------------------------------------------------- -- Table "XP_Basisobjekte"."XP_Objekt_refBegruendungInhalt"