parent
1fbda19fdb
commit
12f3af68bf
|
@ -3,7 +3,7 @@ CREATE OR REPLACE DEFINER=`root`@`localhost`
|
|||
VIEW `vn2008`.`pago_sdc`
|
||||
AS SELECT `ei`.`id` AS `pago_sdc_id`,
|
||||
`ei`.`amount` AS `importe`,
|
||||
`ei`.`dueDated` AS `fecha`,
|
||||
`ei`.`dated` AS `fecha`,
|
||||
`ei`.`finished` AS `vencimiento`,
|
||||
`ei`.`entityFk` AS `entity_id`,
|
||||
`ei`.`ref` AS `ref`,
|
||||
|
|
|
@ -5,7 +5,7 @@ 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,
|
||||
CHANGE COLUMN IF EXISTS `fecha` `dueDated` date NOT NULL,
|
||||
CHANGE COLUMN IF EXISTS `fecha` `dated` date NOT NULL,
|
||||
CHANGE COLUMN IF EXISTS `vencimiento` `finished` date NOT NULL,
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue