From 7e648b7e17d89c4df49f601b16a81bc9d0519913 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Tue, 4 Sep 2012 12:38:09 +0000 Subject: [PATCH] //oups --- install-dev/data/db_structure.sql | 1 + install-dev/upgrade/sql/1.5.0.17.sql | 2 ++ 2 files changed, 3 insertions(+) diff --git a/install-dev/data/db_structure.sql b/install-dev/data/db_structure.sql index d742e995a..1df5385e6 100644 --- a/install-dev/data/db_structure.sql +++ b/install-dev/data/db_structure.sql @@ -585,6 +585,7 @@ CREATE TABLE `PREFIX_customer_message` ( `user_agent` varchar(128) default NULL, `date_add` datetime NOT NULL, `private` TINYINT NOT NULL DEFAULT '0', + `read` tinyint(1) NOT NULL default '0', PRIMARY KEY (`id_customer_message`), KEY `id_customer_thread` (`id_customer_thread`), KEY `id_employee` (`id_employee`) diff --git a/install-dev/upgrade/sql/1.5.0.17.sql b/install-dev/upgrade/sql/1.5.0.17.sql index cfee2b4ae..225002820 100644 --- a/install-dev/upgrade/sql/1.5.0.17.sql +++ b/install-dev/upgrade/sql/1.5.0.17.sql @@ -2,3 +2,5 @@ SET NAMES 'utf8'; ALTER TABLE `PREFIX_order_detail_tax` CHANGE `unit_amount` `unit_amount` DECIMAL(16, 6) NOT NULL DEFAULT '0.000000'; ALTER TABLE `PREFIX_order_detail_tax` CHANGE `total_amount` `unit_amount` DECIMAL(16, 6) NOT NULL DEFAULT '0.000000'; + +ALTER TABLE `PREFIX_customer_message` ADD `read` tinyint(1) NOT NULL default '0' AFTER `private`; \ No newline at end of file