From 79737fc508c9543636b57f9debdac316efc453d9 Mon Sep 17 00:00:00 2001 From: Bernat Date: Mon, 24 Sep 2018 12:03:01 +0200 Subject: [PATCH] update fixtures --- services/db/install/dump/fixtures.sql | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/services/db/install/dump/fixtures.sql b/services/db/install/dump/fixtures.sql index c9ab1f4a8..1502739ea 100644 --- a/services/db/install/dump/fixtures.sql +++ b/services/db/install/dump/fixtures.sql @@ -68,17 +68,17 @@ INSERT INTO `vn`.`bank`(`id`, `bank`, `account`, `cash`, `entityFk`, `isActive`) VALUES (8, 'Pay on receipt', '0000000000', 4, 0, 1); -INSERT INTO `vn`.`agency`(`id`, `name`, `warehouseFk`, `isVolumetric`, `bankFk`, `warehouseAliasFk`) +INSERT INTO `vn`.`agency`(`id`, `name`, `warehouseFk`, `isVolumetric`, `bankFk`, `warehouseAliasFk`, `code`) VALUES - (1, 'inhouse pickup' , 1, 0, 8, 1), - (2, 'Super-Man delivery' , 1, 0, 8, 1), - (3, 'Teleportation device' , 1, 0, 8, 1), - (4, 'Entanglement' , 1, 0, 8, 1), - (5, 'Quantum break device' , 1, 0, 8, 1), - (6, 'Walking' , 1, 0, 8, 1), - (7, 'Silla247' , 1, 0, 8, 1), - (8, 'Silla247Expensive' , 1, 0, 8, 1), - (9, 'Abono' , 1, 0, 8, 1); + (1, 'inhouse pickup' , 1, 0, 8, 1, NULL), + (2, 'Super-Man delivery' , 1, 0, 8, 1, NULL), + (3, 'Teleportation device' , 1, 0, 8, 1, NULL), + (4, 'Entanglement' , 1, 0, 8, 1, NULL), + (5, 'Quantum break device' , 1, 0, 8, 1, NULL), + (6, 'Walking' , 1, 0, 8, 1, NULL), + (7, 'Silla247' , 1, 0, 8, 1, NULL), + (8, 'Silla247Expensive' , 1, 0, 8, 1, NULL), + (9, 'Abono' , 1, 0, 8, 1, 'refund'); UPDATE `vn`.`agencyMode` SET `id` = 1 WHERE `name` = 'inhouse pickup'; UPDATE `vn`.`agencyMode` SET `id` = 2 WHERE `name` = 'Super-Man delivery'; @@ -272,7 +272,8 @@ INSERT INTO `vn`.`observationType`(`id`,`description`) VALUES (1,'observation one'), (2,'observation two'), - (3,'observation three'); + (3,'observation three'), + (4,'comercial'); INSERT INTO `vn`.`addressObservation`(`id`,`addressFk`,`observationTypeFk`,`description`) VALUES