summaryrefslogtreecommitdiffstats
path: root/upgrades/dbpatches/1.4/postgresql/patch/trends.sql
diff options
context:
space:
mode:
Diffstat (limited to 'upgrades/dbpatches/1.4/postgresql/patch/trends.sql')
-rw-r--r--upgrades/dbpatches/1.4/postgresql/patch/trends.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrades/dbpatches/1.4/postgresql/patch/trends.sql b/upgrades/dbpatches/1.4/postgresql/patch/trends.sql
index 7e10db00..6b7113ed 100644
--- a/upgrades/dbpatches/1.4/postgresql/patch/trends.sql
+++ b/upgrades/dbpatches/1.4/postgresql/patch/trends.sql
@@ -6,7 +6,7 @@ CREATE TABLE trends_tmp (
value_avg numeric(16,4) DEFAULT '0.0000' NOT NULL,
value_max numeric(16,4) DEFAULT '0.0000' NOT NULL,
PRIMARY KEY (itemid,clock)
-);
+) with OIDS;
insert into trends_tmp select * from trends;
drop table trends;