From d9b43ce84d1a9f7f97532cf9d24ad5be4f3ecfc9 Mon Sep 17 00:00:00 2001 From: Bernat Date: Mon, 14 May 2018 14:32:58 +0200 Subject: [PATCH] update fixtures tbl:ticket and ticketTracking --- services/db/install/dump/fixtures.sql | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/services/db/install/dump/fixtures.sql b/services/db/install/dump/fixtures.sql index a48066550..a0eb01fa2 100644 --- a/services/db/install/dump/fixtures.sql +++ b/services/db/install/dump/fixtures.sql @@ -308,11 +308,11 @@ INSERT INTO `vn`.`invoiceOut`(`id`, `ref`, `serial`, `amount`, `issued`,`clientF (8, 4, 4, 4, DATE_ADD(CURDATE(), INTERVAL -1 MONTH), 104, 'Professor X', 124, NULL), (9, 5, 5, 4, DATE_ADD(CURDATE(), INTERVAL -2 MONTH), 105, 'Hulk', 125, NULL), (10, 6, 5, 5, DATE_ADD(CURDATE(), INTERVAL -3 MONTH), 105, 'Jessica Jones', 125, NULL), - (11, 1, 1, 1, DATE_ADD(CURDATE(), INTERVAL +1 DAY), 101, 'ticket 1', 121, NULL), - (12, 1, 1, 1, DATE_ADD(CURDATE(), INTERVAL +1 DAY), 101, 'ticket 2', 121, NULL), - (13, 2, 2, 2, CURDATE(), 101, 'ticket 3', 121, NULL), - (14, 2, 2, 2, CURDATE(), 101, 'ticket 4', 121, NULL), - (15, 3, 3, 3, CURDATE(), 101, 'ticket 5', 121, NULL), + (11, 1, 1, 1, DATE_ADD(CURDATE(), INTERVAL +10 DAY), 101, 'ticket 1', 121, NULL), + (12, 1, 1, 1, DATE_ADD(CURDATE(), INTERVAL +1 MONTH), 101, 'ticket 2', 121, NULL), + (13, 2, 2, 2, DATE_ADD(CURDATE(), INTERVAL +2 MONTH), 101, 'ticket 3', 121, NULL), + (14, 2, 2, 2, DATE_ADD(CURDATE(), INTERVAL +3 MONTH), 101, 'ticket 4', 121, NULL), + (15, 3, 3, 3, DATE_ADD(CURDATE(), INTERVAL +4 MONTH), 101, 'ticket 5', 121, NULL), (16, 3, 3, 4, CURDATE(), 101, 'ticket 6', 121, NULL), (17, 4, 4, 4, CURDATE(), 106, 'ticket 7', 126, NULL), (18, 4, 4, 4, CURDATE(), 107, 'ticket 8', 127, NULL), @@ -337,7 +337,18 @@ INSERT INTO `vn`.`ticketTracking`(`id`, `ticketFk`, `stateFk`, `workerFk`, `crea (7, 7, 1, 18, CURDATE()), (8, 8, 2, 19, CURDATE()), (9, 9, 3, 19, CURDATE()), - (10, 10, 1, 19, CURDATE()); + (10, 10, 3, 19, CURDATE()), + (11, 11, 3, 19, CURDATE()), + (12, 12, 3, 19, CURDATE()), + (13, 13, 3, 19, CURDATE()), + (14, 14, 3, 19, CURDATE()), + (15, 15, 3, 19, CURDATE()), + (16, 16, 1, 19, CURDATE()), + (17, 17, 1, 19, CURDATE()), + (18, 18, 1, 19, CURDATE()), + (19, 19, 1, 19, CURDATE()), + (20, 20, 1, 19, CURDATE()), + (21, 21, 1, 19, CURDATE()); INSERT INTO `vn`.`vehicle`(`id`, `numberPlate`, `tradeMark`, `model`, `companyFk`, `warehouseFk`, `description`, `m3`, `isActive`) VALUES