Uniformize name of table

This commit is contained in:
aspangaro 2016-03-28 13:58:14 +02:00
parent 85d51b0d6f
commit 8acf39cbb1
3 changed files with 6 additions and 6 deletions

View File

@ -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);
ALTER TABLE llx_c_accounting_category ADD UNIQUE INDEX uk_c_accounting_category(code);

View File

@ -14,8 +14,8 @@
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- 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);

View File

@ -14,10 +14,10 @@
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- 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,