diff --git a/pgsql/tables/llx_c_actioncomm.sql b/pgsql/tables/llx_c_actioncomm.sql index 5182799d96f..147589fdc9b 100644 --- a/pgsql/tables/llx_c_actioncomm.sql +++ b/pgsql/tables/llx_c_actioncomm.sql @@ -25,8 +25,11 @@ create table llx_c_actioncomm ( id SERIAL PRIMARY KEY, - libelle varchar(30), - todo int + lang varchar(8) default 'all' not null, + type varchar(10) default 'system' not null, + libelle varchar(30) not null, + active smallint default 1, + todo smallint ); diff --git a/pgsql/tables/llx_c_civilite.sql b/pgsql/tables/llx_c_civilite.sql index 280d9fb94f8..a2a9245e3da 100644 --- a/pgsql/tables/llx_c_civilite.sql +++ b/pgsql/tables/llx_c_civilite.sql @@ -22,6 +22,8 @@ create table llx_c_civilite ( rowid serial PRIMARY KEY, + lang varchar(8) default 'all' not null, + code varchar(6), fk_pays integer default 1, civilite varchar(50), active smallint default 1 diff --git a/pgsql/tables/llx_c_effectif.sql b/pgsql/tables/llx_c_effectif.sql index 3cd2499b96a..ab51d56e2c4 100644 --- a/pgsql/tables/llx_c_effectif.sql +++ b/pgsql/tables/llx_c_effectif.sql @@ -1,28 +1 @@ --- ======================================================================== --- Copyright (C) 2004 Benoit Mortier --- --- This program is free software; you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation; either version 2 of the License, or --- (at your option) any later version. --- --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public License --- along with this program; if not, write to the Free Software --- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --- --- $Id$ --- $Source$ --- --- ======================================================================== - -create table llx_c_effectif -( - id SERIAL PRIMARY KEY, - libelle varchar(30) -); - +-- ======================================================================== -- Copyright (C) 2004 Benoit Mortier -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program; if not, write to the Free Software -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -- -- $Id$ -- $Source$ -- -- ======================================================================== create table llx_c_effectif ( id SERIAL PRIMARY KEY, lang varchar(8) default 'all' not null, libelle varchar(30) ); \ No newline at end of file diff --git a/pgsql/tables/llx_c_paiement.sql b/pgsql/tables/llx_c_paiement.sql index 52cf9e16a2e..13d7d2fd201 100644 --- a/pgsql/tables/llx_c_paiement.sql +++ b/pgsql/tables/llx_c_paiement.sql @@ -32,6 +32,7 @@ create table llx_c_paiement ( id SERIAL PRIMARY KEY, + lang varchar(8) default 'all' not null, code varchar(6), libelle varchar(30), type smallint diff --git a/pgsql/tables/llx_c_pays.sql b/pgsql/tables/llx_c_pays.sql index 30067054ed3..4925eff0e48 100644 --- a/pgsql/tables/llx_c_pays.sql +++ b/pgsql/tables/llx_c_pays.sql @@ -23,6 +23,7 @@ create table llx_c_pays ( rowid SERIAL PRIMARY KEY, + lang varchar(8) default 'all' not null, libelle varchar(25), code char(2) NOT NULL, active smallint default 1 NOT NULL diff --git a/pgsql/tables/llx_c_propalst.sql b/pgsql/tables/llx_c_propalst.sql index 489b7e66a54..290c0ce5fca 100644 --- a/pgsql/tables/llx_c_propalst.sql +++ b/pgsql/tables/llx_c_propalst.sql @@ -23,6 +23,7 @@ create table llx_c_propalst ( id SERIAL PRIMARY KEY, + lang varchar(8) default 'all' not null, label varchar(30) ); diff --git a/pgsql/tables/llx_c_stcomm.sql b/pgsql/tables/llx_c_stcomm.sql index 0e0065a270e..47fc2d75988 100644 --- a/pgsql/tables/llx_c_stcomm.sql +++ b/pgsql/tables/llx_c_stcomm.sql @@ -23,6 +23,7 @@ create table llx_c_stcomm ( id SERIAL PRIMARY KEY, + lang varchar(8) default 'all' not null, libelle varchar(30) ); diff --git a/pgsql/tables/llx_c_typent.sql b/pgsql/tables/llx_c_typent.sql index b081b6e83e6..1468a3c0e17 100644 --- a/pgsql/tables/llx_c_typent.sql +++ b/pgsql/tables/llx_c_typent.sql @@ -23,5 +23,6 @@ create table llx_c_typent ( id SERIAL PRIMARY KEY, + lang varchar(8) default 'all' not null, libelle varchar(30) ); diff --git a/pgsql/tables/llx_socpeople.sql b/pgsql/tables/llx_socpeople.sql index cab613b322b..3645200f842 100644 --- a/pgsql/tables/llx_socpeople.sql +++ b/pgsql/tables/llx_socpeople.sql @@ -26,20 +26,20 @@ create table llx_socpeople ( idp SERIAL PRIMARY KEY, datec timestamp, - tms timestamp, + tms timestamp, fk_soc integer, - civilite smallint, -- 1 M, 2 Mme, 3 Mlle + civilite varchar(6), name varchar(50), firstname varchar(50), address varchar(255), birthday date, poste varchar(80), phone varchar(30), - phone_perso varchar(30), + phone_perso varchar(30), phone_mobile varchar(30), fax varchar(30), email varchar(255), - jabberid varchar(255), + jabberid varchar(255), fk_user integer default 0, -- user qui a créé l'enregistrement fk_user_modif integer, note text