Correction d'erreur dans les tables postgresql

tinyint -> integer
This commit is contained in:
opensides 2004-10-08 20:08:45 +00:00
parent 485c169d9a
commit c293b0b737
4 changed files with 6 additions and 8 deletions

View File

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

View File

@ -1,7 +1,7 @@
-- ========================================================================
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2002-2003 Éric Seigne <erics@rycks.com>
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
--
-- 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
);

View File

@ -1 +1 @@
-- ======================================================================== -- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> -- -- 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 );
-- ======================================================================== -- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> -- -- 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 );

View File

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