diff --git a/mysql/migration/2.5.0-2.6.0.sql b/mysql/migration/2.5.0-2.6.0.sql index ed4ab073777..a52153656b7 100644 --- a/mysql/migration/2.5.0-2.6.0.sql +++ b/mysql/migration/2.5.0-2.6.0.sql @@ -108,6 +108,8 @@ alter table llx_commande_fournisseur drop column product_type; alter table llx_commande_fournisseur drop column date_start; alter table llx_commande_fournisseur drop column date_end; +drop table llx_models; + -- V4.1 delete from llx_projet_task where fk_projet not in (select rowid from llx_projet); -- V4.1 ALTER TABLE llx_projet_task ADD CONSTRAINT fk_projet_task_fk_projet FOREIGN KEY (fk_projet) REFERENCES llx_projet (rowid); diff --git a/mysql/tables/llx_texts.sql b/mysql/tables/llx_texts.sql index 611989fd7bb..18f12028695 100644 --- a/mysql/tables/llx_texts.sql +++ b/mysql/tables/llx_texts.sql @@ -1,5 +1,5 @@ -- ============================================================================ --- Copyright (C) 2007 Laurent Destailleur +-- Copyright (C) 2007-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 @@ -18,7 +18,7 @@ -- $Id$ -- ============================================================================ -create table llx_models +create table llx_texts ( rowid integer AUTO_INCREMENT PRIMARY KEY,