/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 1 - 2021-12-31 17:04:49 [4.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 - 2021-12-31 17:04:49 [0.2ms] */
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 - 2021-12-31 17:04:49 [0.2ms] */
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 - 2021-12-31 17:04:49 [7.98ms] */
update `userprofiles` set `last_ip` = '157.51.38.72', `login_count` = 226, `last_login` = '2021-12-31 17:04:49', `userprofiles`.`updated_at` = '2021-12-31 17:04:49' where `id` = 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 5 - 2021-12-31 17:04:49 [0.46ms] */
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 - 2021-12-31 17:04:49 [0.13ms] */
select * from `permissions`;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 7 - 2021-12-31 17:04:49 [0.28ms] */
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 - 2021-12-31 17:04:49 [0.21ms] */
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 - 2021-12-31 17:04:50 [0.98ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 1 - 2021-12-31 17:04:50 [0.94ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 2 - 2021-12-31 17:04:50 [0.61ms] */
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 - 2021-12-31 17:04:50 [0.25ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2021-12-31 17:04:50 [0.2ms] */
select count(*) as aggregate from `party` where `created_at` > '2021-12-31' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2021-12-31 17:04:50 [0.11ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2021-12-31 17:04:50 [0.19ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2021-12-31' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2021-12-31 17:04:50 [0.96ms] */
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` > '2021-12-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2021-12-31 17:04:50 [0.56ms] */
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` > '2021-12-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2021-12-31 17:04:50 [0.55ms] */
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` < '2021-12-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2021-12-31 17:04:50 [0.38ms] */
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` < '2021-12-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2021-12-31 17:04:50 [0.91ms] */
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/config/m/discount
   Query 1 - 2021-12-31 17:05:10 [0.7ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 2 - 2021-12-31 17:05:10 [0.35ms] */
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/config/m/discount
   Query 3 - 2021-12-31 17:05:10 [0.37ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 4 - 2021-12-31 17:05:10 [0.18ms] */
select * from `party` where `party`.`id` = 61 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 5 - 2021-12-31 17:05:10 [0.25ms] */
select * from `person` where `person`.`id` = 45 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 6 - 2021-12-31 17:05:10 [0.12ms] */
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/config/m/discount
   Query 7 - 2021-12-31 17:05:10 [0.17ms] */
select * from `party` where `party`.`id` = 60 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 8 - 2021-12-31 17:05:10 [0.19ms] */
select * from `person` where `person`.`id` = 44 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 9 - 2021-12-31 17:05:10 [0.15ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 10 - 2021-12-31 17:05:10 [0.17ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 11 - 2021-12-31 17:05:10 [0.17ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 12 - 2021-12-31 17:05:10 [0.16ms] */
select * from `party` where `party`.`id` = 12 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 13 - 2021-12-31 17:05:10 [0.17ms] */
select * from `company` where `company`.`id` = 4 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 14 - 2021-12-31 17:05:10 [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/config/m/discount
   Query 15 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 16 - 2021-12-31 17:05:10 [0.14ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 17 - 2021-12-31 17:05:10 [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/config/m/discount
   Query 18 - 2021-12-31 17:05:10 [0.12ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 19 - 2021-12-31 17:05:10 [0.14ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 20 - 2021-12-31 17:05:10 [0.12ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 21 - 2021-12-31 17:05:10 [0.11ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 22 - 2021-12-31 17:05:10 [0.11ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 23 - 2021-12-31 17:05:10 [0.14ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 24 - 2021-12-31 17:05:10 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 137 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/config/m/discount
   Query 25 - 2021-12-31 17:05:10 [0.14ms] */
select * from `party` where `party`.`partyable_id` = 136 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/config/m/discount
   Query 26 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 135 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/config/m/discount
   Query 27 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 134 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/config/m/discount
   Query 28 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 133 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/config/m/discount
   Query 29 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 132 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/config/m/discount
   Query 30 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 131 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/config/m/discount
   Query 31 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 130 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/config/m/discount
   Query 32 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 129 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/config/m/discount
   Query 33 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 128 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/config/m/discount
   Query 34 - 2021-12-31 17:05:10 [0.12ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 35 - 2021-12-31 17:05:10 [0.1ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 36 - 2021-12-31 17:05:10 [0.1ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 37 - 2021-12-31 17:05:10 [0.13ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 38 - 2021-12-31 17:05:10 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 137 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/config/m/discount
   Query 39 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 136 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/config/m/discount
   Query 40 - 2021-12-31 17:05:10 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 135 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/config/m/discount
   Query 41 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 134 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/config/m/discount
   Query 42 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 133 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/config/m/discount
   Query 43 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 132 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/config/m/discount
   Query 44 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 131 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/config/m/discount
   Query 45 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 130 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/config/m/discount
   Query 46 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 129 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/config/m/discount
   Query 47 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 128 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/config/m/discount
   Query 48 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 137 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/config/m/discount
   Query 49 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 136 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/config/m/discount
   Query 50 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 135 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/config/m/discount
   Query 51 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 134 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/config/m/discount
   Query 52 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 133 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/config/m/discount
   Query 53 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 132 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/config/m/discount
   Query 54 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 131 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/config/m/discount
   Query 55 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 130 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/config/m/discount
   Query 56 - 2021-12-31 17:05:10 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 129 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/config/m/discount
   Query 57 - 2021-12-31 17:05:10 [0.27ms] */
select * from `party` where `party`.`partyable_id` = 128 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2021-12-31 17:17:20 [1.14ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2021-12-31 17:17:20 [0.61ms] */
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/livewire/message/config.manage-discount-component
   Query 3 - 2021-12-31 17:17:20 [0.29ms] */
select * from `discount` where `discount`.`id` in (5, 4, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2021-12-31 17:17:20 [0.25ms] */
select * from `party` where `party`.`id` in (11, 12, 60, 61) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2021-12-31 17:17:20 [0.22ms] */
select * from `person` where `person`.`id` in (45, 44, 8) and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2021-12-31 17:17:20 [0.23ms] */
select * from `company` where `company`.`id` in (4) and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2021-12-31 17:17:20 [0.2ms] */
select * from `service` where `service`.`id` in (null, 1, 5, 7) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2021-12-31 17:17:20 [0.12ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2021-12-31 17:17:20 [0.12ms] */
select * from `party` where `party`.`id` = 61 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2021-12-31 17:17:20 [0.12ms] */
select * from `person` where `person`.`id` = 45 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2021-12-31 17:17:20 [0.11ms] */
select * from `service` where `service`.`id` = 5 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2021-12-31 17:17:20 [0.12ms] */
select * from `party` where `party`.`id` = 60 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2021-12-31 17:17:20 [0.12ms] */
select * from `person` where `person`.`id` = 44 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2021-12-31 17:17:20 [0.11ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2021-12-31 17:17:20 [0.12ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2021-12-31 17:17:20 [0.12ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2021-12-31 17:17:20 [0.11ms] */
select * from `party` where `party`.`id` = 12 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2021-12-31 17:17:20 [0.11ms] */
select * from `company` where `company`.`id` = 4 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2021-12-31 17:17:20 [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): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2021-12-31 17:17:20 [0.12ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2021-12-31 17:17:20 [0.12ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2021-12-31 17:17:20 [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): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2021-12-31 17:17:24 [1.04ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2021-12-31 17:17:24 [0.75ms] */
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/livewire/message/party.select-party-component
   Query 1 - 2021-12-31 17:17:33 [1.11ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2021-12-31 17:17:33 [0.71ms] */
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/livewire/message/party.select-party-component
   Query 3 - 2021-12-31 17:17:33 [0.3ms] */
select count(*) as aggregate from `person` where (`first_name` like '%c%' or `second_name` like '%c%' or `third_name` like '%c%' or `fourth_name` like '%c%') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 4 - 2021-12-31 17:17:33 [0.37ms] */
select * from `person` where (`first_name` like '%c%' or `second_name` like '%c%' or `third_name` like '%c%' or `fourth_name` like '%c%') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2021-12-31 17:17:33 [0.26ms] */
select * from `party` where `party`.`partyable_id` = 94 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2021-12-31 17:17:33 [0.19ms] */
select * from `party` where `party`.`partyable_id` = 13 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 7 - 2021-12-31 17:17:33 [0.22ms] */
select * from `party` where `party`.`partyable_id` = 93 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 8 - 2021-12-31 17:17:33 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 137 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 9 - 2021-12-31 17:17:33 [0.26ms] */
select * from `party` where `party`.`partyable_id` = 120 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 10 - 2021-12-31 17:17:33 [0.22ms] */
select * from `party` where `party`.`partyable_id` = 121 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 11 - 2021-12-31 17:17:33 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 129 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 12 - 2021-12-31 17:17:33 [0.18ms] */
select * from `party` where `party`.`partyable_id` = 8 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 13 - 2021-12-31 17:17:33 [0.23ms] */
select * from `party` where `party`.`partyable_id` = 62 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 14 - 2021-12-31 17:17:33 [0.22ms] */
select * from `party` where `party`.`partyable_id` = 26 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2021-12-31 17:17:34 [0.96ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2021-12-31 17:17:34 [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/livewire/message/party.select-party-component
   Query 3 - 2021-12-31 17:17:34 [0.58ms] */
select count(*) as aggregate from `person` where (`first_name` like '%char%' or `second_name` like '%char%' or `third_name` like '%char%' or `fourth_name` like '%char%') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 4 - 2021-12-31 17:17:34 [0.58ms] */
select * from `person` where (`first_name` like '%char%' or `second_name` like '%char%' or `third_name` like '%char%' or `fourth_name` like '%char%') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2021-12-31 17:17:34 [0.25ms] */
select * from `party` where `party`.`partyable_id` = 62 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 6 - 2021-12-31 17:17:34 [0.42ms] */
select * from `party` where `party`.`partyable_id` = 61 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2021-12-31 17:17:34 [0.98ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2021-12-31 17:17:34 [0.61ms] */
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/livewire/message/party.select-party-component
   Query 3 - 2021-12-31 17:17:34 [0.54ms] */
select count(*) as aggregate from `person` where (`first_name` like '%charle%' or `second_name` like '%charle%' or `third_name` like '%charle%' or `fourth_name` like '%charle%') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 4 - 2021-12-31 17:17:34 [0.62ms] */
select * from `person` where (`first_name` like '%charle%' or `second_name` like '%charle%' or `third_name` like '%charle%' or `fourth_name` like '%charle%') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2021-12-31 17:17:34 [0.26ms] */
select * from `party` where `party`.`partyable_id` = 62 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2021-12-31 17:17:35 [0.94ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2021-12-31 17:17:35 [0.7ms] */
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/livewire/message/party.select-party-component
   Query 3 - 2021-12-31 17:17:35 [0.33ms] */
select count(*) as aggregate from `person` where (`first_name` like '%charles%' or `second_name` like '%charles%' or `third_name` like '%charles%' or `fourth_name` like '%charles%') and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 4 - 2021-12-31 17:17:35 [0.31ms] */
select * from `person` where (`first_name` like '%charles%' or `second_name` like '%charles%' or `third_name` like '%charles%' or `fourth_name` like '%charles%') and `person`.`deleted_at` is null order by `first_name` asc, `second_name` asc, `third_name` asc, `fourth_name` asc limit 10 offset 0;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 5 - 2021-12-31 17:17:35 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 62 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 1 - 2021-12-31 17:17:36 [1.06ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.select-party-component
   Query 2 - 2021-12-31 17:17:36 [0.63ms] */
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/livewire/message/party.view-party-component
   Query 1 - 2021-12-31 17:17:37 [0.78ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.view-party-component
   Query 2 - 2021-12-31 17:17:37 [0.54ms] */
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/livewire/message/party.view-party-component
   Query 3 - 2021-12-31 17:17:37 [0.37ms] */
select * from `party` where `party`.`id` = 78 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.view-party-component
   Query 4 - 2021-12-31 17:17:37 [0.41ms] */
select * from `person` where `person`.`id` = 62 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.view-party-component
   Query 5 - 2021-12-31 17:17:37 [0.22ms] */
select * from `party` where `party`.`partyable_id` = 62 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.view-party-component
   Query 1 - 2021-12-31 17:17:37 [0.96ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.view-party-component
   Query 2 - 2021-12-31 17:17:37 [0.7ms] */
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/livewire/message/party.view-party-component
   Query 3 - 2021-12-31 17:17:37 [0.3ms] */
select * from `party` where `party`.`id` = 78 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.view-party-component
   Query 4 - 2021-12-31 17:17:37 [0.29ms] */
select * from `person` where `person`.`id` = 62 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/party.view-party-component
   Query 5 - 2021-12-31 17:17:37 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 62 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2021-12-31 17:17:37 [0.92ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2021-12-31 17:17:37 [0.7ms] */
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/livewire/message/config.manage-discount-component
   Query 3 - 2021-12-31 17:17:37 [0.15ms] */
select * from `discount` where `discount`.`id` in (5, 4, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2021-12-31 17:17:37 [0.14ms] */
select * from `party` where `party`.`id` in (11, 12, 60, 61) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2021-12-31 17:17:37 [0.14ms] */
select * from `person` where `person`.`id` in (45, 44, 8) and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2021-12-31 17:17:37 [0.12ms] */
select * from `company` where `company`.`id` in (4) and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2021-12-31 17:17:37 [0.12ms] */
select * from `service` where `service`.`id` in (null, 1, 5, 7) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2021-12-31 17:17:37 [0.29ms] */
select * from `vehicle_tax` where `party_id` = 78 and `status` != 'ISSUED' and `status` != 'PAID' and `vehicle_tax`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2021-12-31 17:17:37 [0.26ms] */
select * from `party_vehicle` where `party_id` = 78 and `status` != 'REGISTERED' and `status` != 'PAID' and `party_vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2021-12-31 17:17:37 [0.19ms] */
select * from `service` where `service`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2021-12-31 17:17:37 [0.12ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2021-12-31 17:17:37 [0.13ms] */
select * from `party` where `party`.`id` = 61 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2021-12-31 17:17:37 [0.13ms] */
select * from `person` where `person`.`id` = 45 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2021-12-31 17:17:37 [0.11ms] */
select * from `service` where `service`.`id` = 5 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2021-12-31 17:17:37 [0.13ms] */
select * from `party` where `party`.`id` = 60 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2021-12-31 17:17:37 [0.13ms] */
select * from `person` where `person`.`id` = 44 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2021-12-31 17:17:37 [0.11ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2021-12-31 17:17:37 [0.12ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2021-12-31 17:17:37 [0.13ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2021-12-31 17:17:37 [0.12ms] */
select * from `party` where `party`.`id` = 12 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2021-12-31 17:17:37 [0.11ms] */
select * from `company` where `company`.`id` = 4 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2021-12-31 17:17:37 [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): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2021-12-31 17:17:37 [0.13ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2021-12-31 17:17:37 [0.13ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2021-12-31 17:17:37 [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): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2021-12-31 17:17:37 [0.12ms] */
select * from `party` where `party`.`id` = 78 and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2021-12-31 17:17:37 [0.13ms] */
select * from `person` where `person`.`id` = 62 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 28 - 2021-12-31 17:17:37 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 62 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2021-12-31 17:17:40 [1.06ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2021-12-31 17:17:40 [0.71ms] */
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/livewire/message/config.manage-discount-component
   Query 3 - 2021-12-31 17:17:40 [0.42ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (20);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2021-12-31 17:17:40 [0.38ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (62);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2021-12-31 17:17:40 [0.27ms] */
select * from `service` where `service`.`id` in (4, 7, 6, 2, 1, 3, 5);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2021-12-31 17:17:40 [0.13ms] */
select * from `discount` where `discount`.`id` in (5, 4, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2021-12-31 17:17:40 [0.13ms] */
select * from `party` where `party`.`id` in (11, 12, 60, 61) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2021-12-31 17:17:40 [0.15ms] */
select * from `person` where `person`.`id` in (45, 44, 8) and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2021-12-31 17:17:40 [0.11ms] */
select * from `company` where `company`.`id` in (4) and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2021-12-31 17:17:40 [0.12ms] */
select * from `service` where `service`.`id` in (null, 1, 5, 7) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2021-12-31 17:17:40 [0.12ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2021-12-31 17:17:40 [0.12ms] */
select * from `party` where `party`.`id` = 61 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2021-12-31 17:17:40 [0.12ms] */
select * from `person` where `person`.`id` = 45 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2021-12-31 17:17:40 [0.11ms] */
select * from `service` where `service`.`id` = 5 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2021-12-31 17:17:40 [0.12ms] */
select * from `party` where `party`.`id` = 60 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2021-12-31 17:17:40 [0.13ms] */
select * from `person` where `person`.`id` = 44 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2021-12-31 17:17:40 [0.13ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2021-12-31 17:17:40 [0.12ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2021-12-31 17:17:40 [0.13ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2021-12-31 17:17:40 [0.12ms] */
select * from `party` where `party`.`id` = 12 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2021-12-31 17:17:40 [0.11ms] */
select * from `company` where `company`.`id` = 4 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2021-12-31 17:17:40 [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): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2021-12-31 17:17:40 [0.12ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2021-12-31 17:17:40 [0.13ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2021-12-31 17:17:40 [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): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2021-12-31 17:17:40 [0.2ms] */
select * from `vehicle` where `vehicle`.`id` = 61 and `vehicle`.`id` is not null and `vehicle`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2021-12-31 17:17:40 [0.12ms] */
select * from `term` where `term`.`id` = 88 and `term`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2021-12-31 17:17:43 [1.07ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2021-12-31 17:17:43 [0.61ms] */
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/livewire/message/config.manage-discount-component
   Query 3 - 2021-12-31 17:17:43 [0.27ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (20);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2021-12-31 17:17:43 [0.5ms] */
select * from `vehicle` where `vehicle`.`id` in (61) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2021-12-31 17:17:43 [0.26ms] */
select * from `term` where `term`.`id` in (88) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2021-12-31 17:17:43 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (62);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2021-12-31 17:17:43 [0.13ms] */
select * from `service` where `service`.`id` in (4, 7, 6, 2, 1, 3, 5);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2021-12-31 17:17:43 [0.13ms] */
select * from `discount` where `discount`.`id` in (5, 4, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2021-12-31 17:17:43 [0.13ms] */
select * from `party` where `party`.`id` in (11, 12, 60, 61) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2021-12-31 17:17:43 [0.13ms] */
select * from `person` where `person`.`id` in (45, 44, 8) and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2021-12-31 17:17:43 [0.12ms] */
select * from `company` where `company`.`id` in (4) and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2021-12-31 17:17:43 [0.11ms] */
select * from `service` where `service`.`id` in (null, 1, 5, 7) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2021-12-31 17:17:43 [0.15ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2021-12-31 17:17:43 [0.13ms] */
select * from `party` where `party`.`id` = 61 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2021-12-31 17:17:43 [0.14ms] */
select * from `person` where `person`.`id` = 45 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2021-12-31 17:17:43 [0.11ms] */
select * from `service` where `service`.`id` = 5 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2021-12-31 17:17:43 [0.13ms] */
select * from `party` where `party`.`id` = 60 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2021-12-31 17:17:43 [0.13ms] */
select * from `person` where `person`.`id` = 44 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2021-12-31 17:17:43 [0.11ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2021-12-31 17:17:43 [0.12ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2021-12-31 17:17:43 [0.13ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2021-12-31 17:17:43 [0.12ms] */
select * from `party` where `party`.`id` = 12 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2021-12-31 17:17:43 [0.11ms] */
select * from `company` where `company`.`id` = 4 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2021-12-31 17:17:43 [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): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2021-12-31 17:17:43 [0.12ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2021-12-31 17:17:43 [0.13ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2021-12-31 17:17:43 [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): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 1 - 2021-12-31 17:17:45 [1.02ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 2 - 2021-12-31 17:17:45 [0.43ms] */
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/livewire/message/config.manage-discount-component
   Query 3 - 2021-12-31 17:17:45 [0.14ms] */
select * from `vehicle_tax` where `vehicle_tax`.`id` in (20);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 4 - 2021-12-31 17:17:45 [0.13ms] */
select * from `vehicle` where `vehicle`.`id` in (61) and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 5 - 2021-12-31 17:17:45 [0.11ms] */
select * from `term` where `term`.`id` in (88) and `term`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 6 - 2021-12-31 17:17:45 [0.12ms] */
select * from `party_vehicle` where `party_vehicle`.`id` in (62);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 7 - 2021-12-31 17:17:45 [0.13ms] */
select * from `service` where `service`.`id` in (4, 7, 6, 2, 1, 3, 5);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 8 - 2021-12-31 17:17:45 [0.13ms] */
select * from `discount` where `discount`.`id` in (5, 4, 3, 2, 1);
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 9 - 2021-12-31 17:17:45 [0.13ms] */
select * from `party` where `party`.`id` in (11, 12, 60, 61) and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 10 - 2021-12-31 17:17:45 [0.13ms] */
select * from `person` where `person`.`id` in (45, 44, 8) and `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 11 - 2021-12-31 17:17:45 [0.11ms] */
select * from `company` where `company`.`id` in (4) and `company`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 12 - 2021-12-31 17:17:45 [0.12ms] */
select * from `service` where `service`.`id` in (null, 1, 5, 7) and `service`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 13 - 2021-12-31 17:17:45 [0.12ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 14 - 2021-12-31 17:17:45 [0.12ms] */
select * from `party` where `party`.`id` = 61 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 15 - 2021-12-31 17:17:45 [0.13ms] */
select * from `person` where `person`.`id` = 45 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 16 - 2021-12-31 17:17:45 [0.11ms] */
select * from `service` where `service`.`id` = 5 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 17 - 2021-12-31 17:17:45 [0.12ms] */
select * from `party` where `party`.`id` = 60 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 18 - 2021-12-31 17:17:45 [0.13ms] */
select * from `person` where `person`.`id` = 44 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 19 - 2021-12-31 17:17:45 [0.11ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 20 - 2021-12-31 17:17:45 [0.12ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 21 - 2021-12-31 17:17:45 [0.12ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 22 - 2021-12-31 17:17:45 [0.12ms] */
select * from `party` where `party`.`id` = 12 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 23 - 2021-12-31 17:17:45 [0.11ms] */
select * from `company` where `company`.`id` = 4 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 24 - 2021-12-31 17:17: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): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 25 - 2021-12-31 17:17:45 [0.12ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 26 - 2021-12-31 17:17:45 [0.12ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/livewire/message/config.manage-discount-component
   Query 27 - 2021-12-31 17:17:45 [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/config/m/discount
   Query 1 - 2021-12-31 17:43:54 [0.65ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 2 - 2021-12-31 17:43:54 [0.37ms] */
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/config/m/discount
   Query 3 - 2021-12-31 17:43:54 [0.12ms] */
select * from `discount` where `discount`.`deleted_at` is null order by `created_at` desc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 4 - 2021-12-31 17:43:54 [0.13ms] */
select * from `party` where `party`.`id` = 61 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 5 - 2021-12-31 17:43:54 [0.13ms] */
select * from `person` where `person`.`id` = 45 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 6 - 2021-12-31 17:43:54 [0.12ms] */
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/config/m/discount
   Query 7 - 2021-12-31 17:43:54 [0.19ms] */
select * from `party` where `party`.`id` = 60 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 8 - 2021-12-31 17:43:54 [0.19ms] */
select * from `person` where `person`.`id` = 44 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 9 - 2021-12-31 17:43:54 [0.17ms] */
select * from `service` where `service`.`id` = 7 and `service`.`id` is not null and `service`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 10 - 2021-12-31 17:43:54 [0.2ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 11 - 2021-12-31 17:43:54 [0.19ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 12 - 2021-12-31 17:43:54 [0.18ms] */
select * from `party` where `party`.`id` = 12 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 13 - 2021-12-31 17:43:54 [0.21ms] */
select * from `company` where `company`.`id` = 4 and `company`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 14 - 2021-12-31 17:43:54 [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/config/m/discount
   Query 15 - 2021-12-31 17:43:54 [0.11ms] */
select * from `party` where `party`.`id` = 11 and `party`.`id` is not null and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 16 - 2021-12-31 17:43:54 [0.12ms] */
select * from `person` where `person`.`id` = 8 and `person`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 17 - 2021-12-31 17:43:54 [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/config/m/discount
   Query 18 - 2021-12-31 17:43:54 [0.12ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 19 - 2021-12-31 17:43:54 [0.13ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 20 - 2021-12-31 17:43:54 [0.14ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 21 - 2021-12-31 17:43:54 [0.11ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 22 - 2021-12-31 17:43:54 [0.13ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 23 - 2021-12-31 17:43:54 [0.15ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 24 - 2021-12-31 17:43:54 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 137 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/config/m/discount
   Query 25 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 136 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/config/m/discount
   Query 26 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 135 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/config/m/discount
   Query 27 - 2021-12-31 17:43:54 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 134 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/config/m/discount
   Query 28 - 2021-12-31 17:43:54 [0.14ms] */
select * from `party` where `party`.`partyable_id` = 133 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/config/m/discount
   Query 29 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 132 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/config/m/discount
   Query 30 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 131 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/config/m/discount
   Query 31 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 130 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/config/m/discount
   Query 32 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 129 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/config/m/discount
   Query 33 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 128 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/config/m/discount
   Query 34 - 2021-12-31 17:43:54 [0.11ms] */
select * from `region` where `region`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 35 - 2021-12-31 17:43:54 [0.1ms] */
select * from `district` where `region_id` is null and `district`.`deleted_at` is null order by `name` asc;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 36 - 2021-12-31 17:43:54 [0.1ms] */
select count(*) as aggregate from `person` where `person`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 37 - 2021-12-31 17:43:54 [0.13ms] */
select * from `person` where `person`.`deleted_at` is null order by `updated_at` desc limit 10 offset 0;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en/m/config/m/discount
   Query 38 - 2021-12-31 17:43:54 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 137 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/config/m/discount
   Query 39 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 136 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/config/m/discount
   Query 40 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 135 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/config/m/discount
   Query 41 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 134 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/config/m/discount
   Query 42 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 133 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/config/m/discount
   Query 43 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 132 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/config/m/discount
   Query 44 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 131 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/config/m/discount
   Query 45 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 130 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/config/m/discount
   Query 46 - 2021-12-31 17:43:54 [0.13ms] */
select * from `party` where `party`.`partyable_id` = 129 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/config/m/discount
   Query 47 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 128 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/config/m/discount
   Query 48 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 137 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/config/m/discount
   Query 49 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 136 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/config/m/discount
   Query 50 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 135 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/config/m/discount
   Query 51 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 134 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/config/m/discount
   Query 52 - 2021-12-31 17:43:54 [0.12ms] */
select * from `party` where `party`.`partyable_id` = 133 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/config/m/discount
   Query 53 - 2021-12-31 17:43:54 [0.21ms] */
select * from `party` where `party`.`partyable_id` = 132 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/config/m/discount
   Query 54 - 2021-12-31 17:43:54 [0.23ms] */
select * from `party` where `party`.`partyable_id` = 131 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/config/m/discount
   Query 55 - 2021-12-31 17:43:54 [0.26ms] */
select * from `party` where `party`.`partyable_id` = 130 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/config/m/discount
   Query 56 - 2021-12-31 17:43:54 [0.22ms] */
select * from `party` where `party`.`partyable_id` = 129 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/config/m/discount
   Query 57 - 2021-12-31 17:43:54 [0.23ms] */
select * from `party` where `party`.`partyable_id` = 128 and `party`.`partyable_id` is not null and `party`.`partyable_type` = 'Person' and `party`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/logout
   Query 1 - 2021-12-31 19:21:54 [1.13ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 1 - 2021-12-31 19:22:02 [0.66ms] */
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 - 2021-12-31 19:22:02 [0.13ms] */
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 - 2021-12-31 19:22:02 [0.24ms] */
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 - 2021-12-31 19:22:02 [8ms] */
update `userprofiles` set `login_count` = 227, `last_login` = '2021-12-31 19:22:02', `userprofiles`.`updated_at` = '2021-12-31 19:22:02' where `id` = 1;
/*==================================================*/
/* Origin (request): POST https://trainrta.puntlandgov.org/en/login
   Query 5 - 2021-12-31 19:22:02 [0.35ms] */
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
   Query 1 - 2021-12-31 19:22:02 [0.63ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 1 - 2021-12-31 19:22:02 [0.59ms] */
select * from `users` where `id` = 1 and `users`.`deleted_at` is null limit 1;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 2 - 2021-12-31 19:22:02 [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
   Query 3 - 2021-12-31 19:22:02 [0.12ms] */
select count(*) as aggregate from `party` where `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 4 - 2021-12-31 19:22:02 [0.11ms] */
select count(*) as aggregate from `party` where `created_at` > '2021-12-31' and `party`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 5 - 2021-12-31 19:22:02 [0.1ms] */
select count(*) as aggregate from `vehicle` where `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 6 - 2021-12-31 19:22:02 [0.12ms] */
select count(*) as aggregate from `vehicle` where `created_at` > '2021-12-31' and `vehicle`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 7 - 2021-12-31 19:22:02 [0.15ms] */
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` > '2021-12-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 8 - 2021-12-31 19:22:02 [0.13ms] */
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` > '2021-12-30' and `Payment`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 9 - 2021-12-31 19:22:02 [0.13ms] */
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` < '2021-12-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 10 - 2021-12-31 19:22:02 [0.12ms] */
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` < '2021-12-31' and `invoice`.`deleted_at` is null;
/*==================================================*/
/* Origin (request): GET https://trainrta.puntlandgov.org/en
   Query 11 - 2021-12-31 19:22:02 [0.21ms] */
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;
/*==================================================*/
