diff options
Diffstat (limited to 'upgrades/dbpatches/1.4/mysql/patch/items.sql')
-rw-r--r-- | upgrades/dbpatches/1.4/mysql/patch/items.sql | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/upgrades/dbpatches/1.4/mysql/patch/items.sql b/upgrades/dbpatches/1.4/mysql/patch/items.sql index 2093e4a2..b4cbd028 100644 --- a/upgrades/dbpatches/1.4/mysql/patch/items.sql +++ b/upgrades/dbpatches/1.4/mysql/patch/items.sql @@ -32,12 +32,13 @@ CREATE TABLE items_tmp ( templateid bigint unsigned DEFAULT '0' NOT NULL, valuemapid bigint unsigned DEFAULT '0' NOT NULL, delay_flex varchar(255) DEFAULT '' NOT NULL, + params text DEFAULT '' NOT NULL, PRIMARY KEY (itemid) ) ENGINE=InnoDB; CREATE UNIQUE INDEX items_1 on items_tmp (hostid,key_); CREATE INDEX items_2 on items_tmp (nextcheck); CREATE INDEX items_3 on items_tmp (status); -insert into items_tmp select *,'' from items; +insert into items_tmp select *,'','' from items; drop table items; alter table items_tmp rename items; |