changement des Makefile pour passer le nom de la abse aux sous-scripts
changement des noms des tables aussi (passage en llx_)
This commit is contained in:
parent
1137022f1b
commit
ad9e910c0d
@ -32,15 +32,15 @@ all:
|
|||||||
|
|
||||||
show:
|
show:
|
||||||
cd tables \
|
cd tables \
|
||||||
&& make show
|
&& make show BASE=$(BASE)
|
||||||
|
|
||||||
table:
|
table:
|
||||||
cd tables \
|
cd tables \
|
||||||
&& make create
|
&& make create BASE=$(BASE)
|
||||||
|
|
||||||
dev:
|
dev:
|
||||||
cd data \
|
cd data \
|
||||||
&& make dev
|
&& make dev BASE=$(BASE)
|
||||||
|
|
||||||
|
|
||||||
fulldev: drop table load dev
|
fulldev: drop table load dev
|
||||||
|
|||||||
@ -73,65 +73,65 @@ values ('demo2','demo2','DM2','demo2','demo',1,0,'demo2');
|
|||||||
--
|
--
|
||||||
-- Societe
|
-- Societe
|
||||||
--
|
--
|
||||||
delete from societe;
|
delete from llx_societe;
|
||||||
insert into societe (nom,datec,cp,ville,tel,fax, client, prefix_comm, fournisseur)
|
insert into llx_societe (nom,datec,cp,ville,tel,fax, client, prefix_comm, fournisseur)
|
||||||
values ('Bolix SA',now(),'56350','Allaire','01 40 15 03 18','01 40 15 06 18',1,'LO',1);
|
values ('Bolix SA',now(),'56350','Allaire','01 40 15 03 18','01 40 15 06 18',1,'LO',1);
|
||||||
|
|
||||||
insert into societe (nom,datec,cp,ville,tel,fax, client, prefix_comm)
|
insert into llx_societe (nom,datec,cp,ville,tel,fax, client, prefix_comm)
|
||||||
values ('Cumulo',now(),'56610','Arradon','01 40 15 03 18','01 40 15 06 18',1,'CU');
|
values ('Cumulo',now(),'56610','Arradon','01 40 15 03 18','01 40 15 06 18',1,'CU');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client, prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,client, prefix_comm)
|
||||||
values ('Doli INC.','29300','Arzano','01 55 55 03 18','01 55 55 55 55',1,'DO');
|
values ('Doli INC.','29300','Arzano','01 55 55 03 18','01 55 55 55 55',1,'DO');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client, prefix_comm,url)
|
insert into llx_societe (nom,cp,ville,tel,fax,client, prefix_comm,url)
|
||||||
values ('Foo SARL','22300','Ploubezre','01 55 55 03 18','01 55 55 55 55',1,'FOO','www.gnu.org');
|
values ('Foo SARL','22300','Ploubezre','01 55 55 03 18','01 55 55 55 55',1,'FOO','www.gnu.org');
|
||||||
|
|
||||||
insert into societe (nom,datec,cp,ville,tel,fax, client, prefix_comm)
|
insert into llx_societe (nom,datec,cp,ville,tel,fax, client, prefix_comm)
|
||||||
values ('Talphinfo',now(),'29400','Bodilis','01 40 15 03 18','01 40 15 06 18',1,'AP');
|
values ('Talphinfo',now(),'29400','Bodilis','01 40 15 03 18','01 40 15 06 18',1,'AP');
|
||||||
|
|
||||||
insert into societe (nom,datec,cp,ville,tel,fax, client, prefix_comm)
|
insert into llx_societe (nom,datec,cp,ville,tel,fax, client, prefix_comm)
|
||||||
values ('Valphanix',now(),'29820','Bohars','01 40 15 03 18','01 40 15 06 18',1,'AL');
|
values ('Valphanix',now(),'29820','Bohars','01 40 15 03 18','01 40 15 06 18',1,'AL');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client,url)
|
insert into llx_societe (nom,cp,ville,tel,fax,client,url)
|
||||||
values ('Turin','29890','Brignogan-Plage','01 55 55 03 18','01 55 55 55 55',1,'http://www.ot-brignogan-plage.fr/');
|
values ('Turin','29890','Brignogan-Plage','01 55 55 03 18','01 55 55 55 55',1,'http://www.ot-brignogan-plage.fr/');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client)
|
insert into llx_societe (nom,cp,ville,tel,fax,client)
|
||||||
values ('Yratin SA','29660','Carantec','01 55 55 03 18','01 55 55 55 55',1);
|
values ('Yratin SA','29660','Carantec','01 55 55 03 18','01 55 55 55 55',1);
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client)
|
insert into llx_societe (nom,cp,ville,tel,fax,client)
|
||||||
values ('Raggos SARL','29233','Cléder','01 55 55 03 18','01 55 55 55 55',1);
|
values ('Raggos SARL','29233','Cléder','01 55 55 03 18','01 55 55 55 55',1);
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client)
|
insert into llx_societe (nom,cp,ville,tel,fax,client)
|
||||||
values ('Pruitosa','29870','Coat-Méal','01 55 55 03 18','01 55 55 55 55',1);
|
values ('Pruitosa','29870','Coat-Méal','01 55 55 03 18','01 55 55 55 55',1);
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client)
|
insert into llx_societe (nom,cp,ville,tel,fax,client)
|
||||||
values ('Stratus','29120','Combrit','01 55 55 03 18','01 55 55 55 55',1);
|
values ('Stratus','29120','Combrit','01 55 55 03 18','01 55 55 55 55',1);
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client)
|
insert into llx_societe (nom,cp,ville,tel,fax,client)
|
||||||
values ('Nimbus','29490','Guipavas','01 55 55 03 18','01 55 55 55 55',1);
|
values ('Nimbus','29490','Guipavas','01 55 55 03 18','01 55 55 55 55',1);
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,client)
|
insert into llx_societe (nom,cp,ville,tel,fax,client)
|
||||||
values ('Iono','22110','Rostrenen','01 55 55 03 18','01 55 55 55 55',1);
|
values ('Iono','22110','Rostrenen','01 55 55 03 18','01 55 55 55 55',1);
|
||||||
--
|
--
|
||||||
-- Contact
|
-- Contact
|
||||||
--
|
--
|
||||||
delete from socpeople;
|
delete from llx_socpeople;
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
values (10,1,'Victoire','Paul','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (10,1,'Victoire','Paul','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
values (11,1,'Tourin','Pierre','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (11,1,'Tourin','Pierre','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
values (12,1,'Patrick','Paul','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (12,1,'Patrick','Paul','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
values (13,1,'Myriam','Isabelle','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (13,1,'Myriam','Isabelle','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
|
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
values (20,2,'Corin','Arnaud','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (20,2,'Corin','Arnaud','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
values (30,3,'Phil','Breizh','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (30,3,'Phil','Breizh','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
values (31,3,'Marie','Jeanne','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (31,3,'Marie','Jeanne','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
insert into socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
insert into llx_socpeople (idp,fk_soc, name, firstname, phone,fax,email)
|
||||||
values (41,4,'Alix','Victor','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
values (41,4,'Alix','Victor','01 40 15 03 18','01 40 15 06 18','dev@lafrere.net');
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
@ -169,61 +169,61 @@ values (1, 'FI-LP-1','2001-12-05','2001-12-05','2001-12-05',1,1,1,4,'Mise
|
|||||||
--
|
--
|
||||||
-- Actions commerciales
|
-- Actions commerciales
|
||||||
--
|
--
|
||||||
delete from actioncomm;
|
delete from llx_actioncomm;
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-04-06',1,1,1,1);
|
values ('2002-04-06',1,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-04-05',2,1,1,1);
|
values ('2002-04-05',2,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-04-05',1,1,1,1);
|
values ('2002-04-05',1,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-04-02',3,1,1,1);
|
values ('2002-04-02',3,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-04-02',3,1,1,1);
|
values ('2002-04-02',3,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-03-05',3,1,1,1);
|
values ('2002-03-05',3,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2002-03-04',1,1,1,1);
|
values ('2002-03-04',1,1,1,1);
|
||||||
insert into actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
insert into llx_actioncomm (datea, fk_action,fk_soc,fk_user_author,fk_contact)
|
||||||
values ('2001-03-05',1,1,1,1);
|
values ('2001-03-05',1,1,1,1);
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
insert into societe (idp,nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (idp,nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values (20,'Bouleau','22800','Le Foeil','01 55 55 03 18','01 55 55 55 55',1,'BTP');
|
values (20,'Bouleau','22800','Le Foeil','01 55 55 03 18','01 55 55 55 55',1,'BTP');
|
||||||
|
|
||||||
insert into societe (idp,nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (idp,nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values (101,'Cerisier','22290','Goudelin','01 55 55 03 18','01 55 55 55 55',1,'CER');
|
values (101,'Cerisier','22290','Goudelin','01 55 55 03 18','01 55 55 55 55',1,'CER');
|
||||||
|
|
||||||
insert into societe (idp,nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (idp,nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values (100,'Chêne','22330','Le Gouray','01 55 55 03 18','01 55 55 55 55',1,'DEL');
|
values (100,'Chêne','22330','Le Gouray','01 55 55 03 18','01 55 55 55 55',1,'DEL');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm,datec)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm,datec)
|
||||||
values ('Peuplier','22300','Lanmérin','01 55 55 03 18','01 55 55 55 55',1,'JP',now());
|
values ('Peuplier','22300','Lanmérin','01 55 55 03 18','01 55 55 55 55',1,'JP',now());
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm,datec)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm,datec)
|
||||||
values ('Poirier','22290','Lannebert','01 55 55 03 18','01 55 55 55 55',1,'PO',now());
|
values ('Poirier','22290','Lannebert','01 55 55 03 18','01 55 55 55 55',1,'PO',now());
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Orme','22400','Noyal','01 55 55 03 18','01 55 55 55 55',1,'ORM');
|
values ('Orme','22400','Noyal','01 55 55 03 18','01 55 55 55 55',1,'ORM');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Pin','22200','Pabu','01 55 55 03 18','01 55 55 55 55',1,'PIN');
|
values ('Pin','22200','Pabu','01 55 55 03 18','01 55 55 55 55',1,'PIN');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Merisier','22510','Penguily','01 55 55 03 18','01 55 55 55 55',1,'IKE');
|
values ('Merisier','22510','Penguily','01 55 55 03 18','01 55 55 55 55',1,'IKE');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Hêtre','22480','Peumerit-Quintin','01 55 55 03 18','01 55 55 55 55',1,'CAS');
|
values ('Hêtre','22480','Peumerit-Quintin','01 55 55 03 18','01 55 55 55 55',1,'CAS');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Saule','22800','Quintin','01 55 55 03 18','01 55 55 55 55',1,'ME');
|
values ('Saule','22800','Quintin','01 55 55 03 18','01 55 55 55 55',1,'ME');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Poirier','22940','Plaintel','01 55 55 03 18','01 55 55 55 55',1,'CEG');
|
values ('Poirier','22940','Plaintel','01 55 55 03 18','01 55 55 55 55',1,'CEG');
|
||||||
|
|
||||||
insert into societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
insert into llx_societe (nom,cp,ville,tel,fax,fournisseur,prefix_comm)
|
||||||
values ('Tek','22300','Rospez','01 55 55 03 18','01 55 55 55 55',1,'LMT');
|
values ('Tek','22300','Rospez','01 55 55 03 18','01 55 55 55 55',1,'LMT');
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
|
|||||||
@ -25,7 +25,7 @@ OPTIONS=-f
|
|||||||
all: show
|
all: show
|
||||||
|
|
||||||
create:
|
create:
|
||||||
$(MYSQL) $(OPTIONS) $(BASE) < actioncomm.sql
|
$(MYSQL) $(OPTIONS) $(BASE) < llx_actioncomm.sql
|
||||||
$(MYSQL) $(OPTIONS) $(BASE) < c_actioncomm.sql
|
$(MYSQL) $(OPTIONS) $(BASE) < c_actioncomm.sql
|
||||||
$(MYSQL) $(OPTIONS) $(BASE) < c_chargesociales.sql
|
$(MYSQL) $(OPTIONS) $(BASE) < c_chargesociales.sql
|
||||||
$(MYSQL) $(OPTIONS) $(BASE) < c_effectif.sql
|
$(MYSQL) $(OPTIONS) $(BASE) < c_effectif.sql
|
||||||
@ -76,9 +76,9 @@ create:
|
|||||||
$(MYSQL) $(OPTIONS) $(BASE) < llx_ventes.sql
|
$(MYSQL) $(OPTIONS) $(BASE) < llx_ventes.sql
|
||||||
$(MYSQL) $(OPTIONS) $(BASE) < llx_voyage.sql
|
$(MYSQL) $(OPTIONS) $(BASE) < llx_voyage.sql
|
||||||
$(MYSQL) $(OPTIONS) $(BASE) < llx_voyage_reduc.sql
|
$(MYSQL) $(OPTIONS) $(BASE) < llx_voyage_reduc.sql
|
||||||
$(MYSQL) $(OPTIONS) $(BASE) < societe.sql
|
$(MYSQL) $(OPTIONS) $(BASE) < llx_societe.sql
|
||||||
$(MYSQL) $(OPTIONS) $(BASE) < socpeople.sql
|
$(MYSQL) $(OPTIONS) $(BASE) < llx_socpeople.sql
|
||||||
$(MYSQL) $(OPTIONS) $(BASE) < socstatutlog.sql
|
$(MYSQL) $(OPTIONS) $(BASE) < llx_socstatutlog.sql
|
||||||
|
|
||||||
show:
|
show:
|
||||||
$(MYSQL) $(OPTIONS) $(BASE) -e 'show tables'
|
$(MYSQL) $(OPTIONS) $(BASE) -e 'show tables'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user