From 8acf39cbb1061de537505820c0fcdae6789dd0ec Mon Sep 17 00:00:00 2001 From: aspangaro Date: Mon, 28 Mar 2016 13:58:14 +0200 Subject: [PATCH] Uniformize name of table --- htdocs/install/mysql/migration/3.9.0-4.0.0.sql | 4 ++-- ...ncy_category.key.sql => llx_c_accounting_category.key.sql} | 4 ++-- ...accountancy_category.sql => llx_c_accounting_category.sql} | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename htdocs/install/mysql/tables/{llx_c_accountancy_category.key.sql => llx_c_accounting_category.key.sql} (86%) rename htdocs/install/mysql/tables/{llx_c_accountancy_category.sql => llx_c_accounting_category.sql} (93%) diff --git a/htdocs/install/mysql/migration/3.9.0-4.0.0.sql b/htdocs/install/mysql/migration/3.9.0-4.0.0.sql index 3fa7d67c7ec..ab71e70e863 100644 --- a/htdocs/install/mysql/migration/3.9.0-4.0.0.sql +++ b/htdocs/install/mysql/migration/3.9.0-4.0.0.sql @@ -326,7 +326,7 @@ ALTER TABLE llx_actioncomm MODIFY COLUMN elementtype varchar(255) DEFAULT NULL; DELETE FROM llx_menu where module='expensereport'; -CREATE TABLE llx_c_accountancy_category ( +CREATE TABLE llx_c_accounting_category ( rowid integer NOT NULL AUTO_INCREMENT PRIMARY KEY, code varchar(16) NOT NULL, label varchar(255) NOT NULL, @@ -336,4 +336,4 @@ CREATE TABLE llx_c_accountancy_category ( active integer DEFAULT 1 ) ENGINE=innodb; -ALTER TABLE llx_c_accountancy_category ADD UNIQUE INDEX uk_c_accountancy_category(code); \ No newline at end of file +ALTER TABLE llx_c_accounting_category ADD UNIQUE INDEX uk_c_accounting_category(code); \ No newline at end of file diff --git a/htdocs/install/mysql/tables/llx_c_accountancy_category.key.sql b/htdocs/install/mysql/tables/llx_c_accounting_category.key.sql similarity index 86% rename from htdocs/install/mysql/tables/llx_c_accountancy_category.key.sql rename to htdocs/install/mysql/tables/llx_c_accounting_category.key.sql index c4adc3a37da..6b2d520a156 100644 --- a/htdocs/install/mysql/tables/llx_c_accountancy_category.key.sql +++ b/htdocs/install/mysql/tables/llx_c_accounting_category.key.sql @@ -14,8 +14,8 @@ -- You should have received a copy of the GNU General Public License -- along with this program. If not, see . -- --- Table with templates of emails +-- Table with category for accounting account -- =================================================================== -ALTER TABLE llx_c_accountancy_category ADD UNIQUE INDEX uk_c_accountancy_category(code); +ALTER TABLE llx_c_accounting_category ADD UNIQUE INDEX uk_c_accounting_category(code); diff --git a/htdocs/install/mysql/tables/llx_c_accountancy_category.sql b/htdocs/install/mysql/tables/llx_c_accounting_category.sql similarity index 93% rename from htdocs/install/mysql/tables/llx_c_accountancy_category.sql rename to htdocs/install/mysql/tables/llx_c_accounting_category.sql index 60b74c77291..0e789a6826c 100644 --- a/htdocs/install/mysql/tables/llx_c_accountancy_category.sql +++ b/htdocs/install/mysql/tables/llx_c_accounting_category.sql @@ -14,10 +14,10 @@ -- You should have received a copy of the GNU General Public License -- along with this program. If not, see . -- --- Table with templates of emails +-- Table with category for accounting account -- =================================================================== -CREATE TABLE llx_c_accountancy_category ( +CREATE TABLE llx_c_accounting_category ( rowid integer NOT NULL AUTO_INCREMENT PRIMARY KEY, code varchar(16) NOT NULL, label varchar(255) NOT NULL,