diff --git a/services/db/install/changes/1.2-CHECK/12.ticketRequest.sql b/services/db/install/changes/1.2-CHECK/12.ticketRequest.sql index 87451c481..36ca82f7a 100644 --- a/services/db/install/changes/1.2-CHECK/12.ticketRequest.sql +++ b/services/db/install/changes/1.2-CHECK/12.ticketRequest.sql @@ -11,7 +11,7 @@ VIEW `ticketRequest` AS `t`.`CodCOMPRADOR` AS `atenderFk`, `t`.`CANTIDAD` AS `quantity`, `t`.`PRECIOMAX` AS `price`, - `t`.`KO` AS `isOk`, + `t`.`isOk` AS `isOk`, `t`.`Id_Movimiento` AS `saleFk`, `t`.`ticketFk` AS `ticketFk`, `t`.`odbc_date` AS `created` diff --git a/services/db/install/dump/fixtures.sql b/services/db/install/dump/fixtures.sql index d965aba77..94e5138e6 100644 --- a/services/db/install/dump/fixtures.sql +++ b/services/db/install/dump/fixtures.sql @@ -1021,7 +1021,7 @@ INSERT INTO `vn2008`.`workerTeam`(`id`, `team`, `user`) INSERT INTO `vn`.`ticketRequest`(`id`, `description`, `requesterFk`, `atenderFk`, `quantity`, `price`, `isOk`, `saleFk`, `ticketFk`, `created`) VALUES - (1, 'Gem of Time', 18, 35, 5, 9.10, 1, 1, 1, DATE_ADD(CURDATE(), INTERVAL -15 DAY)), - (2, 'Gem of Mind', 18, 35, 10, 1.07, 0, 2, 1, DATE_ADD(CURDATE(), INTERVAL -15 DAY)), - (3, 'Mark I', 18, 35, 20, 3.06, 0, NULL, 1, DATE_ADD(CURDATE(), INTERVAL -15 DAY)), - (4, 'Gem of Mind', 18, 35, 15, 1.30, 0, NULL, 11, CURDATE()); \ No newline at end of file + (1, 'Gem of Time', 18, 35, 5, 9.10, 1, 1, 1, DATE_ADD(CURDATE(), INTERVAL -15 DAY)), + (2, 'Gem of Mind', 18, 35, 10, 1.07, 0, NULL, 1, DATE_ADD(CURDATE(), INTERVAL -15 DAY)), + (3, 'Mark I', 18, 35, 20, 3.06, 0, NULL, 1, DATE_ADD(CURDATE(), INTERVAL -15 DAY)), + (4, 'Gem of Mind', 18, 35, 15, 1.30, NULL, NULL, 11, CURDATE()); \ No newline at end of file