From ff442715bf6eedb3583b0fe85bd53d2dd747d205 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 10 Feb 2009 08:50:40 +0000 Subject: [PATCH] Fix: Error creating table --- mysql/tables/llx_product.sql | 4 ++-- mysql/tables/llx_user_param.sql | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mysql/tables/llx_product.sql b/mysql/tables/llx_product.sql index aa5d79d2ad9..58d0f462229 100644 --- a/mysql/tables/llx_product.sql +++ b/mysql/tables/llx_product.sql @@ -1,6 +1,6 @@ -- ============================================================================ -- Copyright (C) 2002-2006 Rodolphe Quiedeville --- Copyright (C) 2008 Laurent Destailleur +-- Copyright (C) 2008-2009 Laurent Destailleur -- -- 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 @@ -48,7 +48,7 @@ create table llx_product volume float DEFAULT NULL, volume_units tinyint DEFAULT NULL, stock integer, -- physical stock - pmp double(24,8) default 0 NOT NULL; + pmp double(24,8) default 0 NOT NULL, canvas varchar(15) DEFAULT '', finished tinyint DEFAULT NULL, import_key varchar(14) diff --git a/mysql/tables/llx_user_param.sql b/mysql/tables/llx_user_param.sql index c8330fc84d6..c0ee64140c3 100644 --- a/mysql/tables/llx_user_param.sql +++ b/mysql/tables/llx_user_param.sql @@ -25,5 +25,5 @@ create table llx_user_param param varchar(64) NOT NULL, value varchar(255) NOT NULL, - UNIQUE (fk_user,page,param) + UNIQUE (fk_user,param) )type=innodb;