2
0
forked from Wavyzz/dolibarr

Prefix en dur "llx_" remplac par constante "MAIN_DB_PREFIX".

This commit is contained in:
Laurent Destailleur
2004-02-01 00:50:26 +00:00
parent 28d6f60875
commit cae0b9e3da
11 changed files with 104 additions and 104 deletions

View File

@@ -22,89 +22,89 @@
-- Valeurs pour les bases de langues francaises -- Valeurs pour les bases de langues francaises
-- --
delete from c_chargesociales; delete from llx_c_chargesociales;
insert into c_chargesociales (id,libelle,deductible) values ( 1, 'Allocations familiales',1); insert into llx_c_chargesociales (id,libelle,deductible) values ( 1, 'Allocations familiales',1);
insert into c_chargesociales (id,libelle,deductible) values ( 2, 'GSG Deductible',1); insert into llx_c_chargesociales (id,libelle,deductible) values ( 2, 'GSG Deductible',1);
insert into c_chargesociales (id,libelle,deductible) values ( 3, 'GSG/CRDS NON Deductible',0); insert into llx_c_chargesociales (id,libelle,deductible) values ( 3, 'GSG/CRDS NON Deductible',0);
delete from c_actioncomm; delete from llx_c_actioncomm;
insert into c_actioncomm (id,libelle) values ( 0, '-'); insert into llx_c_actioncomm (id,libelle) values ( 0, '-');
insert into c_actioncomm (id,libelle) values ( 1, 'Appel T<>l<EFBFBD>phonique'); insert into llx_c_actioncomm (id,libelle) values ( 1, 'Appel T<>l<EFBFBD>phonique');
insert into c_actioncomm (id,libelle) values ( 2, 'Envoi Fax'); insert into llx_c_actioncomm (id,libelle) values ( 2, 'Envoi Fax');
insert into c_actioncomm (id,libelle) values ( 3, 'Envoi propal par mail'); insert into llx_c_actioncomm (id,libelle) values ( 3, 'Envoi propal par mail');
insert into c_actioncomm (id,libelle) values ( 4, 'Envoi d\'un email'); insert into llx_c_actioncomm (id,libelle) values ( 4, 'Envoi d\'un email');
insert into c_actioncomm (id,libelle) values ( 5, 'Rendez-vous'); insert into llx_c_actioncomm (id,libelle) values ( 5, 'Rendez-vous');
insert into c_actioncomm (id,libelle) values ( 9, 'Envoi Facture'); insert into llx_c_actioncomm (id,libelle) values ( 9, 'Envoi Facture');
insert into c_actioncomm (id,libelle) values (10, 'Relance effectu<EFBFBD>e'); insert into llx_c_actioncomm (id,libelle) values (10, 'Relance effectu<EFBFBD>e');
insert into c_actioncomm (id,libelle) values (11, 'Cl<EFBFBD>ture'); insert into llx_c_actioncomm (id,libelle) values (11, 'Cl<EFBFBD>ture');
delete from c_stcomm; delete from llx_c_stcomm;
insert into c_stcomm (id,libelle) values (-1, 'NE PAS CONTACTER'); insert into llx_c_stcomm (id,libelle) values (-1, 'NE PAS CONTACTER');
insert into c_stcomm (id,libelle) values ( 0, 'Jamais contact<EFBFBD>'); insert into llx_c_stcomm (id,libelle) values ( 0, 'Jamais contact<EFBFBD>');
insert into c_stcomm (id,libelle) values ( 1, 'A contacter'); insert into llx_c_stcomm (id,libelle) values ( 1, 'A contacter');
insert into c_stcomm (id,libelle) values ( 2, 'Contact en cours'); insert into llx_c_stcomm (id,libelle) values ( 2, 'Contact en cours');
insert into c_stcomm (id,libelle) values ( 3, 'Contact<EFBFBD>e'); insert into llx_c_stcomm (id,libelle) values ( 3, 'Contact<EFBFBD>e');
delete from c_typent; delete from llx_c_typent;
insert into c_typent (id,libelle) values ( 0, 'Indiff<EFBFBD>rent'); insert into llx_c_typent (id,libelle) values ( 0, 'Indiff<EFBFBD>rent');
insert into c_typent (id,libelle) values ( 1, 'Start-up'); insert into llx_c_typent (id,libelle) values ( 1, 'Start-up');
insert into c_typent (id,libelle) values ( 2, 'Grand groupe'); insert into llx_c_typent (id,libelle) values ( 2, 'Grand groupe');
insert into c_typent (id,libelle) values ( 3, 'PME/PMI'); insert into llx_c_typent (id,libelle) values ( 3, 'PME/PMI');
insert into c_typent (id,libelle) values ( 4, 'Administration'); insert into llx_c_typent (id,libelle) values ( 4, 'Administration');
insert into c_typent (id,libelle) values (100, 'Autres'); insert into llx_c_typent (id,libelle) values (100, 'Autres');
delete from c_pays; delete from llx_c_pays;
insert into c_pays (id,libelle,code) values (0, 'France', 'FR'); insert into llx_c_pays (id,libelle,code) values (0, 'France', 'FR');
insert into c_pays (id,libelle,code) values (2, 'Belgique', 'BE'); insert into llx_c_pays (id,libelle,code) values (2, 'Belgique', 'BE');
insert into c_pays (id,libelle,code) values (3, 'Italie', 'IT'); insert into llx_c_pays (id,libelle,code) values (3, 'Italie', 'IT');
insert into c_pays (id,libelle,code) values (4, 'Espagne', 'ES'); insert into llx_c_pays (id,libelle,code) values (4, 'Espagne', 'ES');
insert into c_pays (id,libelle,code) values (5, 'Allemagne', 'DE'); insert into llx_c_pays (id,libelle,code) values (5, 'Allemagne', 'DE');
insert into c_pays (id,libelle,code) values (6, 'Suisse', 'CH'); insert into llx_c_pays (id,libelle,code) values (6, 'Suisse', 'CH');
insert into c_pays (id,libelle,code) values (7, 'Royaume uni', 'GB'); insert into llx_c_pays (id,libelle,code) values (7, 'Royaume uni', 'GB');
insert into c_pays (id,libelle,code) values (8, 'Irlande', 'IE'); insert into llx_c_pays (id,libelle,code) values (8, 'Irlande', 'IE');
insert into c_pays (id,libelle,code) values (9, 'Chine', 'CN'); insert into llx_c_pays (id,libelle,code) values (9, 'Chine', 'CN');
insert into c_pays (id,libelle,code) values (10, 'Tunisie', 'TN'); insert into llx_c_pays (id,libelle,code) values (10, 'Tunisie', 'TN');
insert into c_pays (id,libelle,code) values (11, 'Etats Unis', 'US'); insert into llx_c_pays (id,libelle,code) values (11, 'Etats Unis', 'US');
insert into c_pays (id,libelle,code) values (12, 'Maroc', 'MA'); insert into llx_c_pays (id,libelle,code) values (12, 'Maroc', 'MA');
insert into c_pays (id,libelle,code) values (13, 'Alg<EFBFBD>rie', 'DZ'); insert into llx_c_pays (id,libelle,code) values (13, 'Alg<EFBFBD>rie', 'DZ');
insert into c_pays (id,libelle,code) values (14, 'Canada', 'CA'); insert into llx_c_pays (id,libelle,code) values (14, 'Canada', 'CA');
insert into c_pays (id,libelle,code) values (15, 'Togo', 'TG'); insert into llx_c_pays (id,libelle,code) values (15, 'Togo', 'TG');
insert into c_pays (id,libelle,code) values (16, 'Gabon', 'GA'); insert into llx_c_pays (id,libelle,code) values (16, 'Gabon', 'GA');
insert into c_pays (id,libelle,code) values (17, 'Pays Bas', 'NL'); insert into llx_c_pays (id,libelle,code) values (17, 'Pays Bas', 'NL');
insert into c_pays (id,libelle,code) values (18, 'Hongrie', 'HU'); insert into llx_c_pays (id,libelle,code) values (18, 'Hongrie', 'HU');
insert into c_pays (id,libelle,code) values (19, 'Russie', 'RU'); insert into llx_c_pays (id,libelle,code) values (19, 'Russie', 'RU');
insert into c_pays (id,libelle,code) values (20, 'Su<EFBFBD>de', 'SE'); insert into llx_c_pays (id,libelle,code) values (20, 'Su<EFBFBD>de', 'SE');
insert into c_pays (id,libelle,code) values (21, 'C<EFBFBD>te d\'Ivoire', 'CI'); insert into llx_c_pays (id,libelle,code) values (21, 'C<EFBFBD>te d\'Ivoire', 'CI');
insert into c_pays (id,libelle,code) values (23, 'S<EFBFBD>n<EFBFBD>gal', 'SN'); insert into llx_c_pays (id,libelle,code) values (23, 'S<EFBFBD>n<EFBFBD>gal', 'SN');
insert into c_pays (id,libelle,code) values (24, 'Argentine', 'AR'); insert into llx_c_pays (id,libelle,code) values (24, 'Argentine', 'AR');
insert into c_pays (id,libelle,code) values (25, 'Cameroun', 'CM'); insert into llx_c_pays (id,libelle,code) values (25, 'Cameroun', 'CM');
delete from c_effectif; delete from llx_c_effectif;
insert into c_effectif (id,libelle) values (0, 'Non sp<73>cifi<66>'); insert into llx_c_effectif (id,libelle) values (0, 'Non sp<73>cifi<66>');
insert into c_effectif (id,libelle) values (1, '1 - 5'); insert into llx_c_effectif (id,libelle) values (1, '1 - 5');
insert into c_effectif (id,libelle) values (2, '6 - 10'); insert into llx_c_effectif (id,libelle) values (2, '6 - 10');
insert into c_effectif (id,libelle) values (3, '11 - 50'); insert into llx_c_effectif (id,libelle) values (3, '11 - 50');
insert into c_effectif (id,libelle) values (4, '51 - 100'); insert into llx_c_effectif (id,libelle) values (4, '51 - 100');
insert into c_effectif (id,libelle) values (5, '100 - 500'); insert into llx_c_effectif (id,libelle) values (5, '100 - 500');
insert into c_effectif (id,libelle) values (6, '> 500'); insert into llx_c_effectif (id,libelle) values (6, '> 500');
delete from c_paiement; delete from llx_c_paiement;
insert into c_paiement (id,libelle,type) values (0, '-', 3); insert into llx_c_paiement (id,libelle,type) values (0, '-', 3);
insert into c_paiement (id,libelle,type) values (1, 'TIP', 1); insert into llx_c_paiement (id,libelle,type) values (1, 'TIP', 1);
insert into c_paiement (id,libelle,type) values (2, 'Virement', 2); insert into llx_c_paiement (id,libelle,type) values (2, 'Virement', 2);
insert into c_paiement (id,libelle,type) values (3, 'Pr<EFBFBD>l<EFBFBD>vement', 1); insert into llx_c_paiement (id,libelle,type) values (3, 'Pr<EFBFBD>l<EFBFBD>vement', 1);
insert into c_paiement (id,libelle,type) values (4, 'Liquide', 0); insert into llx_c_paiement (id,libelle,type) values (4, 'Liquide', 0);
insert into c_paiement (id,libelle,type) values (5, 'Paiement en ligne', 0); insert into llx_c_paiement (id,libelle,type) values (5, 'Paiement en ligne', 0);
insert into c_paiement (id,libelle,type) values (6, 'CB', 1); insert into llx_c_paiement (id,libelle,type) values (6, 'CB', 1);
insert into c_paiement (id,libelle,type) values (7, 'Ch<EFBFBD>que', 2); insert into llx_c_paiement (id,libelle,type) values (7, 'Ch<EFBFBD>que', 2);
delete from c_propalst; delete from llx_c_propalst;
insert into c_propalst (id,label) values (0, 'Brouillon'); insert into llx_c_propalst (id,label) values (0, 'Brouillon');
insert into c_propalst (id,label) values (1, 'Ouverte'); insert into llx_c_propalst (id,label) values (1, 'Ouverte');
insert into c_propalst (id,label) values (2, 'Sign<EFBFBD>e'); insert into llx_c_propalst (id,label) values (2, 'Sign<EFBFBD>e');
insert into c_propalst (id,label) values (3, 'Non Sign<67>e'); insert into llx_c_propalst (id,label) values (3, 'Non Sign<67>e');
insert into c_propalst (id,label) values (4, 'Factur<EFBFBD>e'); insert into llx_c_propalst (id,label) values (4, 'Factur<EFBFBD>e');
-- --
-- Utilisateur -- Utilisateur

View File

@@ -27,15 +27,15 @@ OPTIONS=-U $(OWNER)
all: show all: show
create: create:
$(SQL) $(OPTIONS) $(BASE) < actioncomm.sql $(SQL) $(OPTIONS) $(BASE) < llx_actioncomm.sql
$(SQL) $(OPTIONS) $(BASE) < c_actioncomm.sql $(SQL) $(OPTIONS) $(BASE) < llx_c_actioncomm.sql
$(SQL) $(OPTIONS) $(BASE) < c_chargesociales.sql $(SQL) $(OPTIONS) $(BASE) < llx_c_chargesociales.sql
$(SQL) $(OPTIONS) $(BASE) < c_effectif.sql $(SQL) $(OPTIONS) $(BASE) < llx_c_effectif.sql
$(SQL) $(OPTIONS) $(BASE) < c_paiement.sql $(SQL) $(OPTIONS) $(BASE) < llx_c_paiement.sql
$(SQL) $(OPTIONS) $(BASE) < c_pays.sql $(SQL) $(OPTIONS) $(BASE) < llx_c_pays.sql
$(SQL) $(OPTIONS) $(BASE) < c_propalst.sql $(SQL) $(OPTIONS) $(BASE) < llx_c_propalst.sql
$(SQL) $(OPTIONS) $(BASE) < c_stcomm.sql $(SQL) $(OPTIONS) $(BASE) < llx_c_stcomm.sql
$(SQL) $(OPTIONS) $(BASE) < c_typent.sql $(SQL) $(OPTIONS) $(BASE) < llx_c_typent.sql
$(SQL) $(OPTIONS) $(BASE) < llx_adherent.sql $(SQL) $(OPTIONS) $(BASE) < llx_adherent.sql
$(SQL) $(OPTIONS) $(BASE) < llx_bank.sql $(SQL) $(OPTIONS) $(BASE) < llx_bank.sql
$(SQL) $(OPTIONS) $(BASE) < llx_bank_account.sql $(SQL) $(OPTIONS) $(BASE) < llx_bank_account.sql

View File

@@ -21,7 +21,7 @@
-- --
-- ======================================================================== -- ========================================================================
create table c_actioncomm create table llx_c_actioncomm
( (
id SERIAL, id SERIAL,
libelle varchar(30), libelle varchar(30),

View File

@@ -20,7 +20,7 @@
-- $Source$ -- $Source$
-- --
-- ======================================================================== -- ========================================================================
create table c_chargesociales create table llx_c_chargesociales
( (
id SERIAL, id SERIAL,
libelle varchar(80), libelle varchar(80),

View File

@@ -18,7 +18,7 @@
-- --
-- ======================================================================== -- ========================================================================
create table c_effectif create table llx_c_effectif
( (
id SERIAL, id SERIAL,
libelle varchar(30) libelle varchar(30)

View File

@@ -28,7 +28,7 @@
-- 1 : sortie d'argent -- 1 : sortie d'argent
-- 2 : entr<74>e ou sortie d'argent -- 2 : entr<74>e ou sortie d'argent
create table c_paiement create table llx_c_paiement
( (
id SERIAL, id SERIAL,
libelle varchar(30), libelle varchar(30),

View File

@@ -18,7 +18,7 @@
-- --
-- ======================================================================== -- ========================================================================
create table c_pays create table llx_c_pays
( (
id SERIAL, id SERIAL,
libelle varchar(25), libelle varchar(25),

View File

@@ -18,7 +18,7 @@
-- --
-- =================================================================== -- ===================================================================
create table c_propalst create table llx_c_propalst
( (
id SERIAL, id SERIAL,
label varchar(30) label varchar(30)

View File

@@ -18,7 +18,7 @@
-- --
-- ======================================================================== -- ========================================================================
create table c_stcomm create table llx_c_stcomm
( (
id SERIAL, id SERIAL,
libelle varchar(30) libelle varchar(30)

View File

@@ -18,7 +18,7 @@
-- --
-- ======================================================================== -- ========================================================================
create table c_typent create table llx_c_typent
( (
id SERIAL, id SERIAL,
libelle varchar(30) libelle varchar(30)

View File

@@ -20,29 +20,29 @@
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-- --
drop table actioncomm; drop table llx_actioncomm;
drop table bots; drop table llx_bots;
drop table c_anexpe; drop table llx_c_anexpe;
drop table c_actioncomm; drop table llx_c_actioncomm;
drop table c_chargesociales; drop table llx_c_chargesociales;
drop table c_effectif; drop table llx_c_effectif;
drop table c_paiement ; drop table llx_c_paiement ;
drop table c_pays ; drop table llx_c_pays ;
drop table c_prestatype ; drop table llx_c_prestatype ;
drop table c_propalst ; drop table llx_c_propalst ;
drop table c_stcomm; drop table llx_c_stcomm;
drop table c_typent ; drop table llx_c_typent ;
drop table llx_adherent; drop table llx_adherent;