/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 1 - 2022-02-26 14:45:48 [8.03ms] */
select * from `users` where `email` = 'admin@admin.com' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 1 - 2022-02-26 14:46:12 [1.6ms] */
select * from `users` where `email` = 'super@admin.com' and `status` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 2 - 2022-02-26 14:46:12 [0.43ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 3 - 2022-02-26 14:46:12 [1.11ms] */
select * from `userprofiles` where `userprofiles`.`user_id` = 1 and `userprofiles`.`user_id` is not null and `userprofiles`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 4 - 2022-02-26 14:46:12 [3.03ms] */
update `userprofiles` set `last_ip` = '117.217.183.214', `login_count` = 245, `last_login` = '2022-02-26 14:46:12', `userprofiles`.`updated_at` = '2022-02-26 14:46:12' where `id` = 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 5 - 2022-02-26 14:46:12 [0.74ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 6 - 2022-02-26 14:46:12 [2.82ms] */
select * from `permissions`;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 7 - 2022-02-26 14:46:12 [0.76ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 8 - 2022-02-26 14:46:12 [7.45ms] */
select `roles`.*, `role_has_permissions`.`permission_id` as `pivot_permission_id`, `role_has_permissions`.`role_id` as `pivot_role_id` from `roles` inner join `role_has_permissions` on `roles`.`id` = `role_has_permissions`.`role_id` where `role_has_permissions`.`permission_id` in (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44);
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org
   Query 1 - 2022-02-26 14:46:12 [1.36ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 1 - 2022-02-26 14:46:12 [1.26ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 2 - 2022-02-26 14:46:12 [0.56ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 3 - 2022-02-26 14:46:12 [5.36ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2022-02-26 14:46:12 [0.33ms] */
select count(*) as aggregate from `party` where `created_at` > '2022-02-26' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2022-02-26 14:46:12 [1.31ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2022-02-26 14:46:12 [0.31ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2022-02-26' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2022-02-26 14:46:12 [4.48ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `payment_date` > '2022-02-25' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2022-02-26 14:46:12 [0.95ms] */
select sum(`payment_amount`) as aggregate from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `invoice` on `invoice_payment`.`invoice_id` = `invoice`.`id` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `payment_date` > '2022-02-25' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2022-02-26 14:46:12 [0.98ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 1 and `due_date` < '2022-02-26' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2022-02-26 14:46:12 [0.73ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` inner join `transaction` on `invoice`.`transaction_id` = `transaction`.`id` where `transaction`.`service_id` = 2 and `due_date` < '2022-02-26' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2022-02-26 14:46:12 [3.53ms] */
select `service`.`name` as `product`, `district`.`name` as `district`, `payment`.`payment_amount` as `amount` from `Payment` inner join `invoice_payment` on `invoice_payment`.`payment_id` = `payment`.`id` inner join `transaction` on `transaction`.`id` = `invoice_payment`.`invoice_id` inner join `service` on `service`.`id` = `transaction`.`service_id` inner join `district` on `district`.`id` = `payment`.`district_id` where `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 1 - 2022-02-26 14:46:45 [1.34ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 2 - 2022-02-26 14:46:45 [0.75ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 3 - 2022-02-26 14:46:45 [1.48ms] */
select count(*) as aggregate from `transaction` where `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 4 - 2022-02-26 14:46:45 [1.89ms] */
select * from `transaction` where `transaction`.`deleted_at` is null order by `updated_at` desc, `created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 5 - 2022-02-26 14:46:45 [1.96ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (153, 166, 171, 172, 173, 174) and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 6 - 2022-02-26 14:46:45 [0.92ms] */
select * from `classification_type` where `classification_type`.`id` in (1) and `classification_type`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 7 - 2022-02-26 14:46:45 [0.24ms] */
select * from `party` where `party`.`id` in (141, 154, 156, 158, 159, 161) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 8 - 2022-02-26 14:46:45 [0.24ms] */
select * from `vehicle` where `vehicle`.`id` in (146, 156, 157, 158, 159) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 9 - 2022-02-26 14:46:45 [0.27ms] */
select * from `invoice` where `invoice`.`id` in (null, 276, 305, 306, 307, 308, 309, 310, 311, 312) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 10 - 2022-02-26 14:46:45 [0.2ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 11 - 2022-02-26 14:46:45 [0.54ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 12 - 2022-02-26 14:46:45 [0.17ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 13 - 2022-02-26 14:46:45 [0.46ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 14 - 2022-02-26 14:46:45 [0.18ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 15 - 2022-02-26 14:46:45 [0.17ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 16 - 2022-02-26 14:46:45 [1.14ms] */
select * from `person` where `person`.`id` = 143 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 17 - 2022-02-26 14:46:45 [0.6ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 18 - 2022-02-26 14:46:45 [0.19ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 19 - 2022-02-26 14:46:45 [0.27ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 20 - 2022-02-26 14:46:45 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 21 - 2022-02-26 14:46:45 [0.17ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 22 - 2022-02-26 14:46:45 [0.18ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 23 - 2022-02-26 14:46:45 [0.17ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 24 - 2022-02-26 14:46:45 [0.17ms] */
select * from `service_workflow` where `service_workflow`.`id` = 5 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 25 - 2022-02-26 14:46:45 [0.2ms] */
select * from `service` where `service`.`id` = 5 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 26 - 2022-02-26 14:46:45 [0.16ms] */
select * from `service` where `service`.`id` = 5 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 27 - 2022-02-26 14:46:45 [0.21ms] */
select * from `person` where `person`.`id` = 140 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 28 - 2022-02-26 14:46:45 [0.17ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 19 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 29 - 2022-02-26 14:46:45 [0.15ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 30 - 2022-02-26 14:46:45 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 4 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 31 - 2022-02-26 14:46:45 [0.16ms] */
select * from `service` where `service`.`id` = 4 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 32 - 2022-02-26 14:46:45 [0.16ms] */
select * from `service` where `service`.`id` = 4 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 33 - 2022-02-26 14:46:45 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 16 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 34 - 2022-02-26 14:46:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 6 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 35 - 2022-02-26 14:46:45 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 3 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 36 - 2022-02-26 14:46:45 [0.17ms] */
select * from `service` where `service`.`id` = 3 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 37 - 2022-02-26 14:46:45 [0.16ms] */
select * from `service` where `service`.`id` = 3 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 38 - 2022-02-26 14:46:45 [0.2ms] */
select * from `person` where `person`.`id` = 141 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 39 - 2022-02-26 14:46:45 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 14 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 40 - 2022-02-26 14:46:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 41 - 2022-02-26 14:46:45 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 42 - 2022-02-26 14:46:45 [0.12ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 43 - 2022-02-26 14:46:45 [0.11ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 44 - 2022-02-26 14:46:45 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 45 - 2022-02-26 14:46:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 46 - 2022-02-26 14:46:45 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 47 - 2022-02-26 14:46:45 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 48 - 2022-02-26 14:46:45 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 49 - 2022-02-26 14:46:45 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 50 - 2022-02-26 14:46:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 51 - 2022-02-26 14:46:45 [0.16ms] */
select * from `service_workflow` where `service_workflow`.`id` = 6 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 52 - 2022-02-26 14:46:45 [0.16ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 53 - 2022-02-26 14:46:45 [0.16ms] */
select * from `service` where `service`.`id` = 6 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 54 - 2022-02-26 14:46:45 [0.19ms] */
select * from `person` where `person`.`id` = 136 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 55 - 2022-02-26 14:46:45 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 26 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 56 - 2022-02-26 14:46:45 [0.15ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 57 - 2022-02-26 14:46:45 [0.19ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 58 - 2022-02-26 14:46:45 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 6 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 59 - 2022-02-26 14:46:45 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 60 - 2022-02-26 14:46:45 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 61 - 2022-02-26 14:46:45 [0.19ms] */
select * from `person` where `person`.`id` = 138 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 62 - 2022-02-26 14:46:45 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 26 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 63 - 2022-02-26 14:46:45 [0.11ms] */
select * from `roles` where `roles`.`id` = 8 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 64 - 2022-02-26 14:46:45 [0.12ms] */
select * from `users` where `users`.`id` = 8 and `users`.`id` is not null and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 65 - 2022-02-26 14:46:45 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 6 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 66 - 2022-02-26 14:46:45 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 67 - 2022-02-26 14:46:45 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 68 - 2022-02-26 14:46:45 [0.18ms] */
select * from `person` where `person`.`id` = 123 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 69 - 2022-02-26 14:46:45 [0.16ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/trns
   Query 70 - 2022-02-26 14:46:45 [0.15ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 1 - 2022-02-26 14:46:49 [1.39ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 2 - 2022-02-26 14:46:49 [0.7ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 3 - 2022-02-26 14:46:49 [0.3ms] */
select * from `party` where `party`.`id` = 161 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 4 - 2022-02-26 14:46:49 [0.15ms] */
select * from `person` where `person`.`id` = 143 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 5 - 2022-02-26 14:46:49 [0.33ms] */
select * from `party` where `party`.`partyable_id` = 143 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 6 - 2022-02-26 14:46:49 [0.27ms] */
select count(*) as aggregate from `party_vehicle` where `party_id` = 161 and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 7 - 2022-02-26 14:46:49 [0.36ms] */
select count(*) as aggregate from `transaction` where `party_id` = 161 and `status` = 'INPROGRESS' and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 8 - 2022-02-26 14:46:49 [0.24ms] */
select sum(`outstanding_balance`) as aggregate from `invoice` where `party_id` = 161 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 9 - 2022-02-26 14:46:49 [0.19ms] */
select count(*) as aggregate from `invoice` where `party_id` = 161 and `outstanding_balance` > 0 and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 10 - 2022-02-26 14:46:49 [0.35ms] */
select * from `party_vehicle` where `party_id` = 161 and `party_vehicle`.`deleted_at` is null order by `updated_at` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 11 - 2022-02-26 14:46:49 [0.21ms] */
select * from `vehicle` where `vehicle`.`id` = 159 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 12 - 2022-02-26 14:46:49 [1.22ms] */
select * from `model` where `model`.`id` = 2 and `model`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 13 - 2022-02-26 14:46:49 [0.65ms] */
select * from `make` where `make`.`id` = 2 and `make`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 14 - 2022-02-26 14:46:49 [1.5ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 15 - 2022-02-26 14:46:49 [0.59ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 16 - 2022-02-26 14:46:49 [0.57ms] */
select * from `party` where `party`.`id` = 161 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 17 - 2022-02-26 14:46:49 [0.14ms] */
select * from `person` where `person`.`id` = 143 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 18 - 2022-02-26 14:46:49 [0.86ms] */
select * from `transaction` where `transaction`.`id` = 373 and `transaction`.`id` is not null and `transaction`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 19 - 2022-02-26 14:46:49 [0.62ms] */
select count(*) as aggregate from `invoice` where `party_id` in (161) and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 20 - 2022-02-26 14:46:49 [0.62ms] */
select * from `invoice` where `party_id` in (161) and `invoice`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 21 - 2022-02-26 14:46:49 [0.64ms] */
select * from `transaction` where `transaction`.`id` in (373, 374) and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 22 - 2022-02-26 14:46:49 [0.6ms] */
select * from `vehicle` where `vehicle`.`id` in (159) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 23 - 2022-02-26 14:46:49 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 24 - 2022-02-26 14:46:49 [0.12ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 25 - 2022-02-26 14:46:49 [0.11ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 26 - 2022-02-26 14:46:49 [0.11ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 27 - 2022-02-26 14:46:49 [0.57ms] */
select * from `service` where `service`.`id` in (1, 2) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 28 - 2022-02-26 14:46:49 [0.85ms] */
select * from `party` where `party`.`id` in (161) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 29 - 2022-02-26 14:46:49 [1.21ms] */
select * from `address` where `address`.`id` in (115) and `address`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 30 - 2022-02-26 14:46:49 [0.58ms] */
select * from `party` where `party`.`id` = 161 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 31 - 2022-02-26 14:46:49 [0.13ms] */
select * from `person` where `person`.`id` = 143 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 32 - 2022-02-26 14:46:49 [0.12ms] */
select * from `party` where `party`.`id` = 161 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 33 - 2022-02-26 14:46:49 [0.13ms] */
select * from `person` where `person`.`id` = 143 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 34 - 2022-02-26 14:46:49 [0.12ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 35 - 2022-02-26 14:46:49 [0.58ms] */
select count(*) as aggregate from `transaction` where `party_id` = 161 and `transaction`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 36 - 2022-02-26 14:46:49 [0.69ms] */
select * from `transaction` where `party_id` = 161 and `transaction`.`deleted_at` is null order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 37 - 2022-02-26 14:46:49 [0.12ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 38 - 2022-02-26 14:46:49 [0.64ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 39 - 2022-02-26 14:46:49 [0.1ms] */
select * from `roles`;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 40 - 2022-02-26 14:46:49 [0.13ms] */
select * from `service_workflow` where `service_workflow`.`id` = 2 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 41 - 2022-02-26 14:46:49 [0.11ms] */
select * from `service` where `service`.`id` = 2 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 42 - 2022-02-26 14:46:49 [0.11ms] */
select * from `service` where `service`.`id` = 2 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 43 - 2022-02-26 14:46:49 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 159 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 44 - 2022-02-26 14:46:49 [0.12ms] */
select * from `party` where `party`.`id` = 161 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 45 - 2022-02-26 14:46:49 [0.13ms] */
select * from `person` where `person`.`id` = 143 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 46 - 2022-02-26 14:46:49 [0.61ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 174 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 47 - 2022-02-26 14:46:49 [0.12ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 48 - 2022-02-26 14:46:49 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 49 - 2022-02-26 14:46:49 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 7 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 50 - 2022-02-26 14:46:49 [0.11ms] */
select * from `roles` where `roles`.`id` = 7 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 51 - 2022-02-26 14:46:49 [0.85ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 52 - 2022-02-26 14:46:49 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 53 - 2022-02-26 14:46:49 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 54 - 2022-02-26 14:46:49 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 55 - 2022-02-26 14:46:49 [0.12ms] */
select * from `vehicle` where `vehicle`.`id` = 159 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 56 - 2022-02-26 14:46:49 [0.12ms] */
select * from `party` where `party`.`id` = 161 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 57 - 2022-02-26 14:46:49 [0.13ms] */
select * from `person` where `person`.`id` = 143 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 58 - 2022-02-26 14:46:49 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 174 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 59 - 2022-02-26 14:46:49 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 60 - 2022-02-26 14:46:49 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 61 - 2022-02-26 14:46:49 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 5 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 62 - 2022-02-26 14:46:49 [0.11ms] */
select * from `roles` where `roles`.`id` = 9 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 63 - 2022-02-26 14:46:49 [0.12ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 64 - 2022-02-26 14:46:49 [0.82ms] */
select * from `discount` where `party_id` = 161 and `discount`.`deleted_at` is null order by `created_at` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 65 - 2022-02-26 14:46:49 [0.13ms] */
select * from `party` where `party`.`id` = 161 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 66 - 2022-02-26 14:46:49 [0.13ms] */
select * from `person` where `person`.`id` = 143 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/party/161
   Query 67 - 2022-02-26 14:46:49 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 143 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/tax
   Query 1 - 2022-02-26 14:47:29 [1.35ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/service/tax
   Query 2 - 2022-02-26 14:47:29 [0.83ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/impersonate/5
   Query 1 - 2022-02-26 14:47:34 [1.38ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/impersonate/5
   Query 2 - 2022-02-26 14:47:34 [0.49ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/impersonate/5
   Query 3 - 2022-02-26 14:47:34 [0.28ms] */
select * from `users` where `users`.`id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 1 - 2022-02-26 14:47:34 [1.39ms] */
select * from `users` where `id` = 5 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 2 - 2022-02-26 14:47:34 [0.36ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'permissions';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 3 - 2022-02-26 14:47:34 [0.17ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 4 - 2022-02-26 14:47:34 [0.4ms] */
select count(*) as aggregate from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (5) and `transaction`.`deleted_at` is null and `district_id` = 50;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 5 - 2022-02-26 14:47:34 [0.41ms] */
select `transaction`.* from `transaction` inner join `workflow_definition` on `workflow_definition`.`id` = `transaction`.`current_workflow_state_id` where `workflow_definition`.`role_id` in (5) and `transaction`.`deleted_at` is null and `district_id` = 50 order by `transaction`.`created_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 6 - 2022-02-26 14:47:34 [0.13ms] */
select * from `service` where `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 7 - 2022-02-26 14:47:34 [0.15ms] */
select * from `service_workflow` where `service_workflow`.`id` = 6 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 8 - 2022-02-26 14:47:34 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 9 - 2022-02-26 14:47:34 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 10 - 2022-02-26 14:47:34 [0.42ms] */
select * from `vehicle` where `vehicle`.`id` = 146 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 11 - 2022-02-26 14:47:34 [0.3ms] */
select * from `party` where `party`.`id` = 141 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 12 - 2022-02-26 14:47:34 [0.14ms] */
select * from `person` where `person`.`id` = 123 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 13 - 2022-02-26 14:47:34 [0.3ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 153 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 14 - 2022-02-26 14:47:34 [0.14ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 15 - 2022-02-26 14:47:34 [0.28ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 16 - 2022-02-26 14:47:34 [0.13ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 17 - 2022-02-26 14:47:34 [0.33ms] */
select column_name as `column_name` from information_schema.columns where table_schema = 'train_rta' and table_name = 'roles';
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 18 - 2022-02-26 14:47:34 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 19 - 2022-02-26 14:47:34 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 6 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 20 - 2022-02-26 14:47:34 [0.12ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 21 - 2022-02-26 14:47:34 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 22 - 2022-02-26 14:47:34 [0.31ms] */
select * from `vehicle` where `vehicle`.`id` = 149 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 23 - 2022-02-26 14:47:34 [0.28ms] */
select * from `party` where `party`.`id` = 135 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 24 - 2022-02-26 14:47:34 [0.3ms] */
select * from `person` where `person`.`id` = 118 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 25 - 2022-02-26 14:47:34 [0.39ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 157 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 26 - 2022-02-26 14:47:34 [0.29ms] */
select * from `classification_type` where `classification_type`.`id` = 4 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 27 - 2022-02-26 14:47:34 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 28 - 2022-02-26 14:47:34 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 29 - 2022-02-26 14:47:34 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 30 - 2022-02-26 14:47:34 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 6 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 31 - 2022-02-26 14:47:34 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 32 - 2022-02-26 14:47:34 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 33 - 2022-02-26 14:47:34 [0.3ms] */
select * from `vehicle` where `vehicle`.`id` = 143 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 34 - 2022-02-26 14:47:34 [0.28ms] */
select * from `party` where `party`.`id` = 133 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 35 - 2022-02-26 14:47:34 [0.29ms] */
select * from `person` where `person`.`id` = 116 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 36 - 2022-02-26 14:47:34 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 150 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 37 - 2022-02-26 14:47:34 [0.27ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 38 - 2022-02-26 14:47:34 [0.12ms] */
select * from `sub_category` where `sub_category`.`id` = 9 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 39 - 2022-02-26 14:47:34 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 40 - 2022-02-26 14:47:34 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 41 - 2022-02-26 14:47:34 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 1 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 42 - 2022-02-26 14:47:34 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 43 - 2022-02-26 14:47:34 [0.11ms] */
select * from `service` where `service`.`id` = 1 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 44 - 2022-02-26 14:47:34 [0.28ms] */
select * from `vehicle` where `vehicle`.`id` = 140 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 45 - 2022-02-26 14:47:34 [0.28ms] */
select * from `party` where `party`.`id` = 136 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 46 - 2022-02-26 14:47:34 [0.29ms] */
select * from `person` where `person`.`id` = 119 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 47 - 2022-02-26 14:47:34 [0.29ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 147 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 48 - 2022-02-26 14:47:34 [0.13ms] */
select * from `classification_type` where `classification_type`.`id` = 2 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 49 - 2022-02-26 14:47:34 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 7 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 50 - 2022-02-26 14:47:34 [0.29ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 1 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 51 - 2022-02-26 14:47:34 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 52 - 2022-02-26 14:47:34 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 6 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 53 - 2022-02-26 14:47:34 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 54 - 2022-02-26 14:47:34 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 55 - 2022-02-26 14:47:34 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 134 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 56 - 2022-02-26 14:47:34 [0.27ms] */
select * from `party` where `party`.`id` = 129 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 57 - 2022-02-26 14:47:34 [0.29ms] */
select * from `person` where `person`.`id` = 113 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 58 - 2022-02-26 14:47:34 [0.28ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 141 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 59 - 2022-02-26 14:47:34 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 60 - 2022-02-26 14:47:34 [0.26ms] */
select * from `sub_category` where `sub_category`.`id` = 8 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 61 - 2022-02-26 14:47:34 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 62 - 2022-02-26 14:47:34 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 63 - 2022-02-26 14:47:34 [0.12ms] */
select * from `service_workflow` where `service_workflow`.`id` = 6 and `service_workflow`.`id` is not null and `service_workflow`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 64 - 2022-02-26 14:47:34 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 65 - 2022-02-26 14:47:34 [0.11ms] */
select * from `service` where `service`.`id` = 6 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 66 - 2022-02-26 14:47:34 [0.29ms] */
select * from `vehicle` where `vehicle`.`id` = 89 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 67 - 2022-02-26 14:47:34 [0.28ms] */
select * from `party` where `party`.`id` = 98 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 68 - 2022-02-26 14:47:34 [0.36ms] */
select * from `person` where `person`.`id` = 82 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 69 - 2022-02-26 14:47:34 [0.17ms] */
select * from `party_vehicle` where `party_vehicle`.`id` = 96 and `party_vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 70 - 2022-02-26 14:47:34 [0.11ms] */
select * from `classification_type` where `classification_type`.`id` = 1 and `classification_type`.`id` is not null and `classification_type`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 71 - 2022-02-26 14:47:34 [0.11ms] */
select * from `sub_category` where `sub_category`.`id` = 11 and `sub_category`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 72 - 2022-02-26 14:47:34 [0.12ms] */
select * from `workflow_definition` where `workflow_definition`.`id` = 24 and `workflow_definition`.`id` is not null and `workflow_definition`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 73 - 2022-02-26 14:47:34 [0.11ms] */
select * from `roles` where `roles`.`id` = 5 and `roles`.`id` is not null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 74 - 2022-02-26 14:47:34 [0.14ms] */
select * from `district` where `district`.`id` = 50 and `district`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/w/wkflw
   Query 75 - 2022-02-26 14:47:34 [0.81ms] */
select * from `region` where `region`.`id` = 9 and `region`.`deleted_at` is null limit 1;
/*==================================================*/
