summaryrefslogtreecommitdiffstats
path: root/upgrades/dbpatches/1.3/postgresql/patch/sysmaps.sql
diff options
context:
space:
mode:
Diffstat (limited to 'upgrades/dbpatches/1.3/postgresql/patch/sysmaps.sql')
-rw-r--r--upgrades/dbpatches/1.3/postgresql/patch/sysmaps.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrades/dbpatches/1.3/postgresql/patch/sysmaps.sql b/upgrades/dbpatches/1.3/postgresql/patch/sysmaps.sql
index 7652219c..975530db 100644
--- a/upgrades/dbpatches/1.3/postgresql/patch/sysmaps.sql
+++ b/upgrades/dbpatches/1.3/postgresql/patch/sysmaps.sql
@@ -10,6 +10,6 @@ CREATE TABLE sysmaps_tmp (
);
CREATE INDEX sysmaps_1 on sysmaps_tmp (name);
-insert into sysmaps_tmp select * from sysmaps;
+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;
drop table sysmaps;
alter table sysmaps_tmp rename to sysmaps;