diff --git a/mysql/data/data_dev.sql b/mysql/data/data_dev.sql index 9c8bd3e3cb2..5ee4c9f9485 100644 --- a/mysql/data/data_dev.sql +++ b/mysql/data/data_dev.sql @@ -39,10 +39,17 @@ values ('Easter-Eggs','75013','Paris','01 55 55 03 18','01 55 55 55 55',1); insert into societe (nom,cp,ville,tel,fax,fournisseur) values ('JPG','75013','Paris','01 55 55 03 18','01 55 55 55 55',1); +delete from llx_product; insert into llx_product (ref, label, description, price, duration) values ('CC-2M','Compilo','Compilateur GCC',10,'1 mois'); insert into llx_product (ref, label, description, price, duration) values ('CC-2M','Config Alpha','Configurations a base de proc alpha',1000,'1 mois'); -insert into llx_propal values (1,1,1,0,'PR-LO-020403','2002-04-03 13:44:04','2002-04-03 15:45:29',NULL,'2002-04-03',2,2,NULL,1,1010,0,197.96,1207.96,''); \ No newline at end of file +delete from llx_propal; +insert into llx_propal values (1,1,1,0,'PR-LO-020403','2002-04-03 13:44:04','2002-04-03 15:45:29',NULL,'2002-04-03',2,2,NULL,1,1010,0,197.96,1207.96,''); + + +delete from llx_fichinter; +insert into llx_fichinter (fk_soc, ref, datec, date_valid, datei, fk_user_author, fk_user_valid, fk_statut, duree, note) +values (1, 'FI-LP-1','2001-12-05','2001-12-05','2001-12-05',1,1,1,4,'Mise à jour de la doc'); diff --git a/mysql/tables/Makefile b/mysql/tables/Makefile index 87fd3e50654..396c9d70153 100644 --- a/mysql/tables/Makefile +++ b/mysql/tables/Makefile @@ -40,6 +40,7 @@ create: $(MYSQL) $(BASE) < llx_bookmark.sql $(MYSQL) $(BASE) < llx_fa_pr.sql $(MYSQL) $(BASE) < llx_facture.sql + $(MYSQL) $(BASE) < llx_fichinter.sql $(MYSQL) $(BASE) < llx_paiement.sql $(MYSQL) $(BASE) < llx_pointmort.sql $(MYSQL) $(BASE) < llx_product.sql diff --git a/mysql/tables/llx_fichinter.sql b/mysql/tables/llx_fichinter.sql new file mode 100644 index 00000000000..5982e2f91e0 --- /dev/null +++ b/mysql/tables/llx_fichinter.sql @@ -0,0 +1,46 @@ +-- =================================================================== +-- Copyright (C) 2001-2002 Rodolphe Quiedeville +-- +-- $Id$ +-- $Source$ +-- +-- 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. +-- +-- =================================================================== + +create table llx_fichinter +( + rowid integer AUTO_INCREMENT PRIMARY KEY, + fk_soc integer NOT NULL, + fk_projet integer default 0, -- projet auquel est rattache la fiche + ref varchar(30) NOT NULL, -- number + + datec datetime, -- date de creation + date_valid datetime, -- date de validation + + datei date, -- date de l'intervention + + fk_user_author integer, -- createur de la fiche + + fk_user_valid integer, -- valideur de la fiche + + fk_statut smallint default 0, + + duree integer, + + note text, + + UNIQUE INDEX (ref) +);