diff --git a/pgsql/tables/llx_bookmark4u_login.sql b/pgsql/tables/llx_bookmark4u_login.sql index 9cc1fba8c99..b375ccfa8ec 100644 --- a/pgsql/tables/llx_bookmark4u_login.sql +++ b/pgsql/tables/llx_bookmark4u_login.sql @@ -25,7 +25,5 @@ create table llx_bookmark4u_login ( rowid serial PRIMARY KEY, fk_user integer, - bk4u_uid integer, - - UNIQUE INDEX(fk_user) + bk4u_uid integer ); diff --git a/pgsql/tables/llx_c_chargesociales.sql b/pgsql/tables/llx_c_chargesociales.sql index f7e3631cc8f..5a5ade97bf9 100644 --- a/pgsql/tables/llx_c_chargesociales.sql +++ b/pgsql/tables/llx_c_chargesociales.sql @@ -1,7 +1,7 @@ -- ======================================================================== -- Copyright (C) 2001-2002 Rodolphe Quiedeville -- Copyright (C) 2002-2003 Éric Seigne --- Copyright (C) 2004 Benoit Mortier +-- 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 @@ -25,8 +25,8 @@ create table llx_c_chargesociales ( id SERIAL PRIMARY KEY, libelle varchar(80), - deductible tinyint NOT NULL default 0, - active tinyint default 1 NOT NULL + deductible integer NOT NULL default 0, + active integer default 1 NOT NULL ); diff --git a/pgsql/tables/llx_c_effectif.sql b/pgsql/tables/llx_c_effectif.sql index 8c9a28137e9..6c29a011e7d 100644 --- a/pgsql/tables/llx_c_effectif.sql +++ b/pgsql/tables/llx_c_effectif.sql @@ -1 +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, code varchar(12) unique not null, libelle varchar(30), active tinyint default 1 not null ); \ No newline at end of file +-- ======================================================================== -- 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, code varchar(12) unique not null, libelle varchar(30), active integer default 1 not null ); \ No newline at end of file diff --git a/pgsql/tables/llx_c_propalst.sql b/pgsql/tables/llx_c_propalst.sql index b48de074e76..295be0e5255 100644 --- a/pgsql/tables/llx_c_propalst.sql +++ b/pgsql/tables/llx_c_propalst.sql @@ -25,6 +25,6 @@ create table llx_c_propalst id SERIAL PRIMARY KEY, code varchar(12) unique not null, label varchar(30), - active tinyint default 1 not null + active integer default 1 not null );