2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/mysql/migration/0.1.5-0.2.0.sql
Rodolphe Quiedeville fb0fc46fd3 Ajout modif llx_propal
2003-07-07 16:07:42 +00:00

49 lines
1.4 KiB
SQL

--
-- Mise à jour de la version 0.1.5 à 0.2.0
--
alter table llx_propal add model_pdf varchar(50);
create table llx_notify_def
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
tms timestamp,
datec date, -- date de paiement
fk_action integer NOT NULL,
fk_soc integer NOT NULL,
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,
tms timestamp,
titre varchar(255) NOT NULL,
description text,
objet_type enum('ficheinter','facture','propale')
);
insert into llx_action_def (rowid,titre,description,objet_type) VALUES (1,'Validation fiche intervention','Déclenché lors de la validation d\'une fiche d\'intervention','ficheinter');
insert into llx_action_def (rowid,titre,description,objet_type) VALUES (2,'Validation facture','Déclenché lors de la validation d\'une facture','facture');
create table llx_propal_model_pdf
(
nom varchar(50) PRIMARY KEY,
libelle varchar(255),
description text
);