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 note text
); );
CREATE UNIQUE INDEX llx_adherent_login ON llx_adherent (login);

View File

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

View File

@@ -22,7 +22,7 @@
create table llx_c_pays create table llx_c_pays
( (
id SERIAL PRIMARY KEY, rowid SERIAL PRIMARY KEY,
libelle varchar(25), libelle varchar(25),
code char(2) NOT NULL, code char(2) NOT NULL,
active smallint default 1 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_facture integer NOT NULL default 0,
fk_facturedet integer NOT NULL default 0, fk_facturedet integer NOT NULL default 0,
fk_user_author integer NOT NULL, fk_user_author integer NOT NULL,
fk_user_mise_en_service integer NOT NULL, fk_user_mise_en_service integer,
fk_user_cloture integer NOT NULL fk_user_cloture integer
); );

View File

@@ -26,9 +26,9 @@ create table llx_entrepot
rowid SERIAL PRIMARY KEY, rowid SERIAL PRIMARY KEY,
datec timestamp, datec timestamp,
tms timestamp, tms timestamp,
label varchar(255), label varchar(255) NOT NULL,
description text, description text,
statut tinyint default 1, -- 1 ouvert, 0 ferm<72> statut smallint default 1, -- 1 ouvert, 0 ferm<72>
fk_user_author integer fk_user_author integer
); );