Ajout d'une clef d'unicite sur la champs ref

This commit is contained in:
Rodolphe Quiedeville 2003-03-06 19:56:52 +00:00
parent db8ddc3967
commit 82f4d8572b

View File

@ -1,6 +1,5 @@
-- ===================================================================
-- $Id$
-- $Source$
-- ============================================================================
-- Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
--
-- 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
@ -16,14 +15,17 @@
-- 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_product
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
datec datetime,
tms timestamp,
ref varchar(15),
ref varchar(15) UNIQUE,
label varchar(255),
description text,
price smallint,