mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 22:11:36 +01:00
nouvelle version
This commit is contained in:
@@ -68,8 +68,9 @@ create table llx_societe
|
||||
client smallint default 0, -- client oui/non
|
||||
fournisseur smallint default 0, -- fournisseur oui/non
|
||||
|
||||
UNIQUE INDEX(prefix_comm)
|
||||
);
|
||||
UNIQUE INDEX(prefix_comm),
|
||||
)
|
||||
type=INNODB;
|
||||
|
||||
create table llx_socstatutlog
|
||||
(
|
||||
@@ -92,6 +93,7 @@ create table llx_socpeople
|
||||
phone varchar(30),
|
||||
fax varchar(30),
|
||||
email varchar(255),
|
||||
fk_user integer default 0,
|
||||
note text
|
||||
);
|
||||
|
||||
@@ -110,6 +112,14 @@ create table llx_transaction_bplc
|
||||
|
||||
);
|
||||
|
||||
create table llx_user_rights
|
||||
(
|
||||
fk_user integer NOT NULL,
|
||||
fk_id integer NOT NULL,
|
||||
UNIQUE(fk_user,fk_id)
|
||||
);
|
||||
|
||||
|
||||
create table llx_todocomm
|
||||
(
|
||||
id integer AUTO_INCREMENT PRIMARY KEY,
|
||||
@@ -382,11 +392,22 @@ create table llx_user
|
||||
module_comm smallint default 1,
|
||||
module_compta smallint default 1,
|
||||
fk_societe integer default 0,
|
||||
fk_socpeople integer default 0,
|
||||
note text,
|
||||
|
||||
UNIQUE INDEX(login)
|
||||
);
|
||||
|
||||
create table llx_rights_def
|
||||
(
|
||||
id integer PRIMARY KEY,
|
||||
libelle varchar(255),
|
||||
module varchar(12),
|
||||
type enum('r','w','m','d','a'),
|
||||
bydefault tinyint default 0
|
||||
);
|
||||
|
||||
|
||||
create table llx_voyage
|
||||
(
|
||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||
@@ -453,7 +474,8 @@ create table llx_tva
|
||||
amount real NOT NULL default 0,
|
||||
label varchar(255),
|
||||
note text
|
||||
);
|
||||
)
|
||||
type=INNODB;-- ===================================================================
|
||||
|
||||
create table llx_domain
|
||||
(
|
||||
@@ -664,8 +686,12 @@ create table llx_facture
|
||||
date_lim_reglement date, -- date limite de reglement
|
||||
note text,
|
||||
|
||||
UNIQUE INDEX (facnumber)
|
||||
);
|
||||
UNIQUE INDEX (facnumber),
|
||||
INDEX fksoc (fk_soc),
|
||||
FOREIGN KEY (fk_soc)
|
||||
REFERENCES llx_societe(idp) ON DELETE NO ACTION ON UPDATE NO ACTION
|
||||
)
|
||||
type=INNODB;-- ===================================================================
|
||||
|
||||
create table llx_facturedet
|
||||
(
|
||||
@@ -952,7 +978,6 @@ create table llx_paiementfourn
|
||||
note text
|
||||
);
|
||||
|
||||
|
||||
insert into llx_cond_reglement values (1,1,1, "A r<>ception","R<EFBFBD>ception de facture",0,0);
|
||||
insert into llx_cond_reglement values (2,2,1, "30 jours","R<EFBFBD>glement <20> 30 jours",0,30);
|
||||
insert into llx_cond_reglement values (3,3,1, "30 jours fin de mois","R<EFBFBD>glement <20> 30 jours fin de mois",1,30);
|
||||
|
||||
Reference in New Issue
Block a user