2
0
forked from Wavyzz/dolibarr

adapate au dernier changements sur mysql/tables/*.sql

This commit is contained in:
opensides
2004-07-17 22:59:46 +00:00
parent 9074796f9f
commit 7b9f6c0a88
6 changed files with 8 additions and 6 deletions

View File

@@ -53,3 +53,4 @@ create table llx_adherent
note text
);
CREATE UNIQUE INDEX llx_adherent_login ON llx_adherent (login);

View File

@@ -32,6 +32,7 @@
create table llx_c_paiement
(
id SERIAL PRIMARY KEY,
code varchar(6),
libelle varchar(30),
type smallint
);

View File

@@ -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

View File

@@ -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
);

View File

@@ -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
);

View File

@@ -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