Fix: table name

This commit is contained in:
Laurent Destailleur 2008-08-13 11:52:40 +00:00
parent 4c481a17b3
commit 295781bdb1
2 changed files with 5 additions and 2 deletions

View File

@ -13,6 +13,8 @@ delete from llx_const where name='MAIN_GRAPH_LIBRARY' and (value like 'phplot%'
ALTER TABLE llx_societe_adresse_livraison ADD COLUMN tel varchar(20) after fk_pays;
ALTER TABLE llx_societe_adresse_livraison ADD COLUMN fax varchar(20) after tel;
RENAME TABLE llx_c_barcode TO llx_c_barcode_type;
alter table llx_c_barcode_type modify coder varchar(16) NOT NULL;
update llx_c_barcode_type set coder = 0 where coder in (1,2);

View File

@ -1,5 +1,6 @@
-- ========================================================================
-- Copyright (C) 2007 Regis Houssin <regis@dolibarr.fr>
-- Copyright (C) 2007 Regis Houssin <regis@dolibarr.fr>
-- Copyright (C) 2008 Laurent Destailleur <eldy@users.sourceforge.net>
--
-- 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
@ -18,7 +19,7 @@
-- $Id$
-- ========================================================================
create table llx_c_barcode
create table llx_c_barcode_type
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
code varchar(16) NOT NULL,