diff --git a/htdocs/install/mysql/tables/llx_element_rang.key.sql b/htdocs/install/mysql/tables/llx_element_rang.key.sql deleted file mode 100644 index 8f8d8b2a09e..00000000000 --- a/htdocs/install/mysql/tables/llx_element_rang.key.sql +++ /dev/null @@ -1,28 +0,0 @@ --- ============================================================================ --- Copyright (C) 2010 Regis Houssin --- --- 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$ --- ============================================================================ - - -ALTER TABLE llx_element_rang ADD UNIQUE INDEX idx_element_rang_idx1 (fk_parent, parenttype, fk_child, childtype); - - -ALTER TABLE llx_element_rang ADD INDEX idx_element_rang_fk_parent (fk_parent); - --- Pas de contraite sur fk_parent et fk_child car pointe sur differentes tables - \ No newline at end of file diff --git a/htdocs/install/mysql/tables/llx_element_rang.sql b/htdocs/install/mysql/tables/llx_element_rang.sql deleted file mode 100644 index c0eda58db88..00000000000 --- a/htdocs/install/mysql/tables/llx_element_rang.sql +++ /dev/null @@ -1,30 +0,0 @@ --- ============================================================================ --- Copyright (C) 2010 Regis Houssin --- --- 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_element_rang -( - rowid integer AUTO_INCREMENT PRIMARY KEY, - fk_parent integer NOT NULL, - parenttype varchar(16) NOT NULL, - fk_child integer NOT NULL, - childtype varchar(16) NOT NULL, - rang integer DEFAULT 0 -) ENGINE=innodb; -