forked from Wavyzz/dolibarr
adapate au dernier changements sur mysql/tables/*.sql
This commit is contained in:
@@ -53,3 +53,4 @@ create table llx_adherent
|
||||
note text
|
||||
);
|
||||
|
||||
CREATE UNIQUE INDEX llx_adherent_login ON llx_adherent (login);
|
||||
@@ -32,6 +32,7 @@
|
||||
create table llx_c_paiement
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
code varchar(6),
|
||||
libelle varchar(30),
|
||||
type smallint
|
||||
);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
create table llx_c_pays
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
libelle varchar(25),
|
||||
code char(2) NOT NULL,
|
||||
active smallint default 1 NOT NULL
|
||||
|
||||
@@ -34,7 +34,7 @@ create table llx_contrat
|
||||
fk_facture integer NOT NULL default 0,
|
||||
fk_facturedet integer NOT NULL default 0,
|
||||
fk_user_author integer NOT NULL,
|
||||
fk_user_mise_en_service integer NOT NULL,
|
||||
fk_user_cloture integer NOT NULL
|
||||
fk_user_mise_en_service integer,
|
||||
fk_user_cloture integer
|
||||
);
|
||||
|
||||
|
||||
@@ -26,9 +26,9 @@ create table llx_entrepot
|
||||
rowid SERIAL PRIMARY KEY,
|
||||
datec timestamp,
|
||||
tms timestamp,
|
||||
label varchar(255),
|
||||
label varchar(255) NOT NULL,
|
||||
description text,
|
||||
statut tinyint default 1, -- 1 ouvert, 0 ferm<72>
|
||||
statut smallint default 1, -- 1 ouvert, 0 ferm<72>
|
||||
fk_user_author integer
|
||||
);
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ create table llx_facturedet
|
||||
fk_product integer NOT NULL DEFAULT 0,
|
||||
description text,
|
||||
tva_taux real default 19.6, -- taux tva
|
||||
qty real, -- quantit<69>
|
||||
qty real, -- quantit<69>
|
||||
remise_percent real default 0, -- pourcentage de remise
|
||||
remise real default 0, -- montant de la remise
|
||||
subprice real, -- prix avant remise
|
||||
|
||||
Reference in New Issue
Block a user