From bb255e8e67008ea98ef77b23eb74542406fb9bc4 Mon Sep 17 00:00:00 2001
From: Guilhem Moulin <guilhem@fripost.org>
Date: Thu, 26 Sep 2024 03:10:56 +0200
Subject: =?UTF-8?q?Ignore=20field=20=E2=80=98OBJECTID=E2=80=99=20on=20the?=
 =?UTF-8?q?=20layers=20from=20Sametinget.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Looks like a FID sequence, so not really useful for us…
---
 schema.sql | 36 ------------------------------------
 1 file changed, 36 deletions(-)

(limited to 'schema.sql')

diff --git a/schema.sql b/schema.sql
index e119193..077f7f2 100644
--- a/schema.sql
+++ b/schema.sql
@@ -537,7 +537,6 @@ ALTER SEQUENCE postgis."mrr:torvkoncessioner_ogc_fid_seq" OWNED BY postgis."mrr:
 
 CREATE TABLE postgis."ren:omr_riks" (
     ogc_fid bigint NOT NULL,
-    "OBJECTID" integer NOT NULL,
     "LANK" character varying(254) NOT NULL,
     "LANSKOD" character varying(25) NOT NULL,
     "OMR_NR" integer,
@@ -587,7 +586,6 @@ ALTER SEQUENCE postgis."ren:omr_riks_ogc_fid_seq" OWNED BY postgis."ren:omr_riks
 
 CREATE TABLE postgis."ren:riks_ren" (
     ogc_fid bigint NOT NULL,
-    "OBJECTID" integer NOT NULL,
     "LAGRUM" character varying(254) NOT NULL,
     "AKTUALITET" date NOT NULL,
     "SIGNATUR" character varying(25) NOT NULL,
@@ -633,7 +631,6 @@ ALTER SEQUENCE postgis."ren:riks_ren_ogc_fid_seq" OWNED BY postgis."ren:riks_ren
 
 CREATE TABLE postgis."sametinget:betesomraden" (
     ogc_fid bigint NOT NULL,
-    "OBJECTID" integer NOT NULL,
     "SAMEBY_ID" integer NOT NULL,
     "BY_ID" integer,
     "NAMN" character varying(62) NOT NULL,
@@ -682,7 +679,6 @@ ALTER SEQUENCE postgis."sametinget:betesomraden_ogc_fid_seq" OWNED BY postgis."s
 
 CREATE TABLE postgis."sametinget:flytled" (
     ogc_fid bigint NOT NULL,
-    "OBJECTID" integer NOT NULL,
     "LED_ID" integer NOT NULL,
     "BYNR1" integer NOT NULL,
     "BYNR2" integer NOT NULL,
@@ -1420,14 +1416,6 @@ ALTER TABLE ONLY postgis."ren:omr_riks"
     ADD CONSTRAINT "ren:omr_riks_GlobalID_key" UNIQUE ("GlobalID");
 
 
---
--- Name: ren:omr_riks ren:omr_riks_OBJECTID_key; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
---
-
-ALTER TABLE ONLY postgis."ren:omr_riks"
-    ADD CONSTRAINT "ren:omr_riks_OBJECTID_key" UNIQUE ("OBJECTID");
-
-
 --
 -- Name: ren:omr_riks ren:omr_riks_pkey; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
 --
@@ -1444,14 +1432,6 @@ ALTER TABLE ONLY postgis."ren:riks_ren"
     ADD CONSTRAINT "ren:riks_ren_GlobalID_key" UNIQUE ("GlobalID");
 
 
---
--- Name: ren:riks_ren ren:riks_ren_OBJECTID_key; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
---
-
-ALTER TABLE ONLY postgis."ren:riks_ren"
-    ADD CONSTRAINT "ren:riks_ren_OBJECTID_key" UNIQUE ("OBJECTID");
-
-
 --
 -- Name: ren:riks_ren ren:riks_ren_pkey; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
 --
@@ -1460,14 +1440,6 @@ ALTER TABLE ONLY postgis."ren:riks_ren"
     ADD CONSTRAINT "ren:riks_ren_pkey" PRIMARY KEY (ogc_fid);
 
 
---
--- Name: sametinget:betesomraden sametinget:betesomraden_OBJECTID_key; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
---
-
-ALTER TABLE ONLY postgis."sametinget:betesomraden"
-    ADD CONSTRAINT "sametinget:betesomraden_OBJECTID_key" UNIQUE ("OBJECTID");
-
-
 --
 -- Name: sametinget:betesomraden sametinget:betesomraden_SAMEBY_ID_key; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
 --
@@ -1492,14 +1464,6 @@ ALTER TABLE ONLY postgis."sametinget:flytled"
     ADD CONSTRAINT "sametinget:flytled_GlobalID_key" UNIQUE ("GlobalID");
 
 
---
--- Name: sametinget:flytled sametinget:flytled_OBJECTID_key; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
---
-
-ALTER TABLE ONLY postgis."sametinget:flytled"
-    ADD CONSTRAINT "sametinget:flytled_OBJECTID_key" UNIQUE ("OBJECTID");
-
-
 --
 -- Name: sametinget:flytled sametinget:flytled_pkey; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import
 --
-- 
cgit v1.2.3

