Ajout d'une clef d'unicite sur la champs ref
This commit is contained in:
parent
db8ddc3967
commit
82f4d8572b
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user