Skip to content

Commit fbc9c16

Browse files
authored
Merge pull request #19 from teksi/2023-11-23-default-oid-prefix
Default OID-prefix should start with "ch"
2 parents d4b16fb + ecabfc3 commit fbc9c16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datamodel/changelogs/0001/oid_generation.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-- this file generates a new SQL function to create INTERLIS STANDARDOID's for all the tww_od.* tables.
22
-- you need to add entries for your organizations into the table tww_sys.oid_prefixes
3-
-- questions regarding this function should be directed to Andreas Neumann, Stadt Uster
3+
-- questions regarding this function should be directed to Arnaud Poncet, Pully
44
-- Adapted for TEKSI VSA-DSS 2020 Stefan Burckhardt
55

66
CREATE TABLE tww_sys.oid_prefixes
@@ -18,7 +18,7 @@ COMMENT ON TABLE tww_sys.oid_prefixes
1818
IS 'This table contains OID prefixes for different communities or organizations. The application or administrator changing this table has to make sure that only one record is set to active.';
1919

2020
-- sample entry for Invalid - you need to adapt this entry later for your own organization
21-
INSERT INTO tww_sys.oid_prefixes (prefix,organization,active) VALUES ('00000000','Invalid',TRUE);
21+
INSERT INTO tww_sys.oid_prefixes (prefix,organization,active) VALUES ('ch000000','Invalid',TRUE);
2222
INSERT INTO tww_sys.oid_prefixes (prefix,organization,active) VALUES ('ch11h8mw','Stadt Uster',FALSE);
2323
INSERT INTO tww_sys.oid_prefixes (prefix,organization,active) VALUES ('ch15z36d','SIGE',FALSE);
2424
INSERT INTO tww_sys.oid_prefixes (prefix,organization,active) VALUES ('ch13p7mz','Arbon',FALSE);

0 commit comments

Comments
 (0)