diff --git a/mysql/migration/0.1.5-0.1.6.sql b/mysql/migration/0.1.5-0.1.6.sql index 55ef4b32641..9a12dd0814e 100644 --- a/mysql/migration/0.1.5-0.1.6.sql +++ b/mysql/migration/0.1.5-0.1.6.sql @@ -3,7 +3,7 @@ -- Mise à jour de la version 0.1.5 à 0.1.6 -- -create table llx_notify +create table llx_notify_def ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp, @@ -13,6 +13,18 @@ create table llx_notify fk_contact integer NOT NULL ); +create table llx_notify +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + tms timestamp, + daten datetime, -- date de la notification + fk_action integer NOT NULL, + fk_contact integer NOT NULL, + objet_type enum('ficheinter','facture','propale'), + objet_id integer NOT NULL +); + + create table llx_action_def ( rowid integer NOT NULL PRIMARY KEY,