Fix: table name
This commit is contained in:
parent
4c481a17b3
commit
295781bdb1
@ -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 tel varchar(20) after fk_pays;
|
||||||
ALTER TABLE llx_societe_adresse_livraison ADD COLUMN fax varchar(20) after tel;
|
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;
|
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);
|
update llx_c_barcode_type set coder = 0 where coder in (1,2);
|
||||||
|
|
||||||
|
|||||||
@ -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
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@ -18,7 +19,7 @@
|
|||||||
-- $Id$
|
-- $Id$
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
create table llx_c_barcode
|
create table llx_c_barcode_type
|
||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code varchar(16) NOT NULL,
|
code varchar(16) NOT NULL,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user