15 lines
922 B
SQL
15 lines
922 B
SQL
DROP TRIGGER IF EXISTS vn2008.account_conciliacion_BEFORE_INSERT;
|
|
|
|
ALTER TABLE IF EXISTS `vn2008`.`account_conciliacion` RENAME `vn`.`accountReconciliation`;
|
|
|
|
ALTER TABLE IF EXISTS `vn`.`accountReconciliation`
|
|
CHANGE COLUMN IF EXISTS `idaccount_conciliacion` `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
CHANGE COLUMN IF EXISTS `Id_Proveedores_account` `supplierAccountFk` mediumint(8) unsigned NOT NULL,
|
|
CHANGE COLUMN IF EXISTS `Fechaoperacion` `operationDated` datetime NOT NULL,
|
|
CHANGE COLUMN IF EXISTS `FechaValor` `valueDated` datetime NOT NULL,
|
|
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();
|