diff options
-rw-r--r-- | config.yml | 3 | ||||
-rw-r--r-- | schema.sql | 8 |
2 files changed, 9 insertions, 2 deletions
@@ -515,8 +515,7 @@ layers: # https://www.skogsstyrelsen.se/globalassets/sjalvservice/karttjanster/geodatatjanster/produktbeskrivningar/utforda-avverkningar---produktbeskrivning.pdf - name: OBJECTID type: Integer - # XXX there are duplicates(!?) - #unique: true + unique: true nullable: false #comment: unik identitet - name: Beteckn @@ -367,6 +367,14 @@ ALTER TABLE ONLY postgis."sks:AvverkAnm" -- +-- Name: sks:UtfordAvverk sks:UtfordAvverk_OBJECTID_key; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import +-- + +ALTER TABLE ONLY postgis."sks:UtfordAvverk" + ADD CONSTRAINT "sks:UtfordAvverk_OBJECTID_key" UNIQUE ("OBJECTID"); + + +-- -- Name: sks:UtfordAvverk sks:UtfordAvverk_pkey; Type: CONSTRAINT; Schema: postgis; Owner: webmap_import -- |