salix/db/versions/10785-grayCyca/00-firstScript.sql

10 lines
795 B
SQL

/*
RENAME TABLE vn.expence TO vn.expense;
RENAME TABLE vn.invoiceOutExpence TO vn.invoiceOutExpense;
ALTER TABLE vn.invoiceOutExpense CHANGE expenceFk expenseFk varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL;
ALTER TABLE vn.ticketServiceType CHANGE expenceFk expenseFk varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT '7050000000' NOT NULL;
ALTER TABLE vn.invoiceOutTaxConfig CHANGE expenceFk expenseFk varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL NULL;
ALTER TABLE vn.invoiceInSage CHANGE expenceFk expenseFk varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL;
ALTER TABLE vn.agencyTermConfig CHANGE expenceFk expenseFk varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL NULL;
*/