diff options
Diffstat (limited to 'upgrades/dbpatches/1.4/postgresql/patch/sysmaps.sql')
-rw-r--r-- | upgrades/dbpatches/1.4/postgresql/patch/sysmaps.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrades/dbpatches/1.4/postgresql/patch/sysmaps.sql b/upgrades/dbpatches/1.4/postgresql/patch/sysmaps.sql index 975530db..ee0f0bca 100644 --- a/upgrades/dbpatches/1.4/postgresql/patch/sysmaps.sql +++ b/upgrades/dbpatches/1.4/postgresql/patch/sysmaps.sql @@ -7,7 +7,7 @@ CREATE TABLE sysmaps_tmp ( label_type integer DEFAULT '0' NOT NULL, label_location integer DEFAULT '0' NOT NULL, PRIMARY KEY (sysmapid) -); +) with OIDS; CREATE INDEX sysmaps_1 on sysmaps_tmp (name); insert into sysmaps_tmp select s.sysmapid,s.name,s.width,s.height,i.imageid,s.label_type,s.label_location from sysmaps s,images i where s.background=i.name; |