2024-02-12 11:25:58 +00:00
|
|
|
DROP VIEW IF EXISTS `vn`.`exchangeInsurance`;
|
|
|
|
|
|
|
|
ALTER TABLE IF EXISTS `vn2008`.`pago_sdc` RENAME `vn`.`exchangeInsurance`;
|
|
|
|
|
|
|
|
ALTER TABLE IF EXISTS `vn`.`exchangeInsurance`
|
|
|
|
CHANGE COLUMN IF EXISTS `pago_sdc_id` `id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
CHANGE COLUMN IF EXISTS `importe` `amount` decimal(10,2) NOT NULL,
|
2024-02-19 10:04:07 +00:00
|
|
|
CHANGE COLUMN IF EXISTS `fecha` `dated` date NOT NULL,
|
2024-02-19 10:27:37 +00:00
|
|
|
CHANGE COLUMN IF EXISTS `vencimiento` `dueDated` date NOT NULL,
|
2024-02-12 11:25:58 +00:00
|
|
|
CHANGE COLUMN IF EXISTS `entity_id` `entityFk` int(10) unsigned NOT NULL,
|
|
|
|
CHANGE COLUMN IF EXISTS `empresa_id` `companyFk`int(10) unsigned NOT NULL DEFAULT 442;
|