Nouveau fichier
This commit is contained in:
parent
79015989c8
commit
b03b60df82
46
mysql/migration/0.1.5-0.2.0.sql
Normal file
46
mysql/migration/0.1.5-0.2.0.sql
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
|
||||||
|
--
|
||||||
|
-- Mise à jour de la version 0.1.5 à 0.1.6
|
||||||
|
--
|
||||||
|
|
||||||
|
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
|
||||||
|
);
|
||||||
30
mysql/tables/llx_propal_model_pdf.sql
Normal file
30
mysql/tables/llx_propal_model_pdf.sql
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
-- ===================================================================
|
||||||
|
-- Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
--
|
||||||
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
|
-- it under the terms of the GNU General Public License as published by
|
||||||
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
|
-- (at your option) any later version.
|
||||||
|
--
|
||||||
|
-- This program is distributed in the hope that it will be useful,
|
||||||
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
-- GNU General Public License for more details.
|
||||||
|
--
|
||||||
|
-- You should have received a copy of the GNU General Public License
|
||||||
|
-- along with this program; if not, write to the Free Software
|
||||||
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
--
|
||||||
|
-- $Id$
|
||||||
|
-- $Source$
|
||||||
|
--
|
||||||
|
-- Liste des modeles de propale pdf disponibles
|
||||||
|
--
|
||||||
|
-- ===================================================================
|
||||||
|
|
||||||
|
create table llx_propal_model_pdf
|
||||||
|
(
|
||||||
|
nom varchar(50) PRIMARY KEY,
|
||||||
|
libelle varchar(255),
|
||||||
|
description text
|
||||||
|
);
|
||||||
Loading…
Reference in New Issue
Block a user