diff --git a/db/versions/10835-brownCarnation/12-account_conciliacion.sql b/db/versions/10835-brownCarnation/12-account_conciliacion.sql index cf541e6c8..d8469e035 100644 --- a/db/versions/10835-brownCarnation/12-account_conciliacion.sql +++ b/db/versions/10835-brownCarnation/12-account_conciliacion.sql @@ -1,4 +1,4 @@ -DROP TRIGGER IF EXISTS vn2008.account_conciliacion_beforeInsert; +DROP TRIGGER IF EXISTS vn2008.account_conciliacion_BEFORE_INSERT; ALTER TABLE IF EXISTS `vn2008`.`account_conciliacion` RENAME `vn`.`accountReconciliation`; @@ -11,4 +11,4 @@ CHANGE COLUMN IF EXISTS `importe` `amount` double NOT NULL, CHANGE COLUMN IF EXISTS `Concepto` `concept` varchar(255) DEFAULT NULL, CHANGE COLUMN IF EXISTS `DebeHaber` `debitCredit` smallint(6) NOT NULL, CHANGE COLUMN IF EXISTS `id_calculated` `calculatedCode` varchar(255) DEFAULT NULL, -CHANGE COLUMN IF EXISTS `odbc_date` `created` timestamp NULL DEFAULT current_timestamp(); \ No newline at end of file +CHANGE COLUMN IF EXISTS `odbc_date` `created` timestamp NULL DEFAULT current_timestamp(); diff --git a/db/versions/10835-brownCarnation/25-awb_recibida.sql b/db/versions/10835-brownCarnation/25-awb_recibida.sql index 8528b86e8..e403775c9 100644 --- a/db/versions/10835-brownCarnation/25-awb_recibida.sql +++ b/db/versions/10835-brownCarnation/25-awb_recibida.sql @@ -1,8 +1,8 @@ -DROP TRIGGER IF EXISTS vn2008.awb_recibida_afterDelete; +DROP TRIGGER IF EXISTS vn2008.awb_recibida_ad; ALTER TABLE IF EXISTS `vn2008`.`awb_recibida` RENAME `vn`.`awbInvoiceIn`; ALTER TABLE IF EXISTS `vn`.`awbInvoiceIn` CHANGE COLUMN IF EXISTS `awb_id` `awbFk` smallint(5) unsigned NOT NULL, CHANGE COLUMN IF EXISTS `recibida_id` `invoiceInFk` mediumint(8) unsigned NOT NULL, -CHANGE COLUMN IF EXISTS `dua` `sad` varchar(18) DEFAULT NULL; \ No newline at end of file +CHANGE COLUMN IF EXISTS `dua` `sad` varchar(18) DEFAULT NULL;