diff --git a/mssql/tables/llx_c_ape.sql b/mssql/tables/llx_c_ape.sql deleted file mode 100644 index a7f87cc28d3..00000000000 --- a/mssql/tables/llx_c_ape.sql +++ /dev/null @@ -1,32 +0,0 @@ --- ======================================================================== --- Copyright (C) 2004 Rodolphe Quiedeville --- Copyright (C) 2004 Laurent Destailleur --- --- $Id$ --- $Source$ --- --- 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 --- the Free Software Foundation; either version 2 of the License, or --- (at your option) any later version. --- --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General [public] License for more details. --- --- You should have received a copy of the GNU General [public] License --- along with this program; if not, write to the Free Software --- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --- --- ======================================================================== - -create table llx_c_ape -( - rowid integer IDENTITY PRIMARY KEY, - code_ape varchar(5) NOT NULL, - libelle varchar(255), - active tinyint DEFAULT 1 NOT NULL, -); - -CREATE UNIQUE INDEX code_ape ON llx_c_ape(code_ape) diff --git a/mysql/data/data.sql b/mysql/data/data.sql index 4bd36ceb49f..1049b1bb8a5 100644 --- a/mysql/data/data.sql +++ b/mysql/data/data.sql @@ -348,11 +348,6 @@ insert into llx_c_actioncomm (id, code, type, libelle, module) values ( 8, 'AC_C insert into llx_c_actioncomm (id, code, type, libelle, module) values ( 9, 'AC_FAC', 'system', 'Envoi Facture' ,'invoice'); insert into llx_c_actioncomm (id, code, type, libelle, module) values (50, 'AC_OTH', 'system', 'Autre' ,NULL); --- --- Ape --- -delete from llx_c_ape; - -- -- Types de charges diff --git a/mysql/migration/2.2.0-2.4.0.sql b/mysql/migration/2.2.0-2.4.0.sql index 758613fd1d7..30a85e373c4 100644 --- a/mysql/migration/2.2.0-2.4.0.sql +++ b/mysql/migration/2.2.0-2.4.0.sql @@ -5,7 +5,8 @@ -- Ce fichier doit être chargé sur une version 2.2.0 -- -drop table llx_facture_tva_sum; +DROP TABLE llx_facture_tva_sum; +DROP TABLE llx_c_ape; delete from llx_const where name='MAIN_GRAPH_LIBRARY' and (value like 'phplot%' or value like 'artichow%'); @@ -308,4 +309,4 @@ INSERT INTO llx_c_paper_format (rowid, code, label, width, height, unit, active) INSERT INTO llx_c_paper_format (rowid, code, label, width, height, unit, active) VALUES (220, 'Canadian P5', 'Format Canadian P5', '140', '215', 'mm', 0); INSERT INTO llx_c_paper_format (rowid, code, label, width, height, unit, active) VALUES (225, 'Canadian P6', 'Format Canadian P6', '107', '140', 'mm', 0); -ALTER TABLE llx_commande_fournisseurdet DROP COLUMN price; \ No newline at end of file +ALTER TABLE llx_commande_fournisseurdet DROP COLUMN price; diff --git a/mysql/tables/llx_c_ape.sql b/mysql/tables/llx_c_ape.sql deleted file mode 100644 index af9820da2e7..00000000000 --- a/mysql/tables/llx_c_ape.sql +++ /dev/null @@ -1,31 +0,0 @@ --- ======================================================================== --- Copyright (C) 2004 Rodolphe Quiedeville --- Copyright (C) 2004 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 --- the Free Software Foundation; either version 2 of the License, or --- (at your option) any later version. --- --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public License --- along with this program; if not, write to the Free Software --- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --- --- $Id$ --- ======================================================================== - -create table llx_c_ape -( - rowid integer AUTO_INCREMENT PRIMARY KEY, - code_ape varchar(5) NOT NULL, - libelle varchar(255), - active tinyint DEFAULT 1 NOT NULL, - - UNIQUE INDEX(code_ape) -)type=innodb; - diff --git a/pgsql/tables/llx_c_ape.sql b/pgsql/tables/llx_c_ape.sql deleted file mode 100644 index 9d3dee2654c..00000000000 --- a/pgsql/tables/llx_c_ape.sql +++ /dev/null @@ -1,37 +0,0 @@ --- Generated by dolibarr_mysql2pgsql --- (c) 2004, PostgreSQL Inc. --- (c) 2005, Laurent Destailleur. - --- ======================================================================== --- Copyright (C) 2004 Rodolphe Quiedeville --- Copyright (C) 2004 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 --- the Free Software Foundation; either version 2 of the License, or --- (at your option) any later version. --- --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public License --- along with this program; if not, write to the Free Software --- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --- --- Id: llx_c_ape.sql,v 1.7 2007/12/02 21:57:09 eldy Exp --- ======================================================================== - - -create table llx_c_ape -( - rowid SERIAL PRIMARY KEY, - "code_ape" varchar(5) NOT NULL, - "libelle" varchar(255), - "active" smallint DEFAULT 1 NOT NULL, - UNIQUE(code_ape) -); - -CREATE INDEX idx_llx_c_ape_code_ape ON llx_c_ape (code_ape); -