COMMIT;

-- Dumped table `sale_note_items` with 83 row(s)
--

--
-- Table structure for table `sale_note_migration`
--

CREATE TABLE `sale_note_migration` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_notes_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `success` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `url` varchar(255) NOT NULL,
  `remote_id` int(10) unsigned NOT NULL DEFAULT 0,
  `number` varchar(255) DEFAULT NULL,
  `data` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_note_migration`
--

SET autocommit=0;
COMMIT;

-- Dumped table `sale_note_migration` with 0 row(s)
--

--
-- Table structure for table `sale_note_payments`
--

CREATE TABLE `sale_note_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_note_id` int(10) unsigned NOT NULL,
  `date_of_payment` date NOT NULL,
  `payment_method_type_id` char(2) NOT NULL,
  `has_card` tinyint(1) NOT NULL DEFAULT 0,
  `card_brand_id` char(2) DEFAULT NULL,
  `reference` varchar(255) DEFAULT NULL,
  `payment_received` tinyint(1) DEFAULT NULL,
  `change` decimal(12,2) DEFAULT NULL,
  `payment` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_note_payments_sale_note_id_foreign` (`sale_note_id`),
  KEY `sale_note_payments_card_brand_id_foreign` (`card_brand_id`),
  KEY `sale_note_payments_payment_method_type_id_foreign` (`payment_method_type_id`),
  KEY `sale_note_payments_date_of_payment_index` (`date_of_payment`),
  CONSTRAINT `sale_note_payments_card_brand_id_foreign` FOREIGN KEY (`card_brand_id`) REFERENCES `card_brands` (`id`),
  CONSTRAINT `sale_note_payments_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `sale_note_payments_sale_note_id_foreign` FOREIGN KEY (`sale_note_id`) REFERENCES `sale_notes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_note_payments`
--

SET autocommit=0;
INSERT INTO `sale_note_payments` VALUES (1,1,'2025-12-30','01',0,NULL,NULL,NULL,25.00,25.00),(2,2,'2025-12-31','01',0,NULL,NULL,NULL,1.00,49.00),(3,3,'2026-01-18','01',0,NULL,NULL,NULL,5.00,35.00),(4,4,'2026-01-20','01',0,NULL,NULL,NULL,NULL,63.00),(5,5,'2026-01-23','01',0,NULL,NULL,NULL,5.00,25.00),(6,6,'2026-02-01','01',0,NULL,NULL,NULL,NULL,2.50),(7,7,'2026-02-01','01',0,NULL,NULL,NULL,NULL,5.00),(8,8,'2026-02-01','01',0,NULL,NULL,NULL,7.00,3.00),(9,9,'2026-02-01','01',0,NULL,NULL,NULL,0.50,10.50),(10,10,'2026-02-14','01',0,NULL,NULL,NULL,NULL,25.00),(11,11,'2026-02-14','01',0,NULL,NULL,NULL,NULL,25.00),(12,12,'2026-03-05','01',0,NULL,NULL,NULL,NULL,2.00),(13,13,'2026-03-05','01',0,NULL,NULL,NULL,NULL,4.00),(14,14,'2026-03-06','01',0,NULL,NULL,NULL,0.50,15.50),(15,15,'2026-03-06','01',0,NULL,NULL,NULL,NULL,6.00),(16,16,'2026-03-06','01',0,NULL,NULL,NULL,NULL,2.00),(17,17,'2026-03-06','01',0,NULL,NULL,NULL,12.50,7.50),(18,18,'2026-03-06','01',0,NULL,NULL,NULL,2.00,8.00),(19,19,'2026-03-06','01',0,NULL,NULL,NULL,NULL,2.00),(20,20,'2026-03-06','01',0,NULL,NULL,NULL,10.00,10.00),(21,21,'2026-03-06','01',0,NULL,NULL,NULL,25.00,25.00),(22,22,'2026-03-06','01',0,NULL,NULL,NULL,NULL,2.00),(23,23,'2026-03-07','01',0,NULL,NULL,NULL,1.50,3.50),(24,24,'2026-03-07','01',0,NULL,NULL,NULL,2.50,7.50),(25,25,'2026-03-07','01',0,NULL,NULL,NULL,4.00,6.00),(26,26,'2026-03-07','01',0,NULL,NULL,NULL,NULL,2.00),(27,27,'2026-03-07','01',0,NULL,NULL,NULL,3.00,12.00),(28,28,'2026-03-08','01',0,NULL,NULL,NULL,2.50,7.50),(29,29,'2026-03-08','01',0,NULL,NULL,NULL,5.00,5.00),(30,30,'2026-03-08','01',0,NULL,NULL,NULL,6.00,14.00),(31,31,'2026-03-10','01',0,NULL,NULL,NULL,NULL,7.00),(32,32,'2026-03-10','01',0,NULL,NULL,NULL,2.00,8.00),(33,34,'2026-04-13','01',0,NULL,NULL,NULL,NULL,40.00),(34,35,'2026-04-13','01',0,NULL,NULL,NULL,NULL,40.00),(35,36,'2026-04-13','01',0,NULL,NULL,NULL,NULL,40.00),(36,37,'2026-06-12','01',0,NULL,NULL,NULL,NULL,54.00),(37,38,'2026-06-12','01',0,NULL,NULL,NULL,NULL,63.00),(38,39,'2026-06-12','01',0,NULL,NULL,NULL,NULL,71.00),(39,40,'2026-06-18','01',0,NULL,NULL,NULL,NULL,20.00),(40,41,'2026-07-28','01',0,NULL,NULL,NULL,NULL,26.00),(41,42,'2026-07-31','01',0,NULL,NULL,NULL,NULL,80.00),(42,43,'2026-07-31','01',0,NULL,NULL,NULL,NULL,64.00),(43,44,'2026-07-31','01',0,NULL,NULL,NULL,NULL,77.50),(44,45,'2026-07-31','01',0,NULL,NULL,NULL,NULL,56.00),(45,46,'2026-07-31','01',0,NULL,NULL,NULL,NULL,160.00),(46,47,'2026-07-31','01',0,NULL,NULL,NULL,NULL,100.00);
COMMIT;

-- Dumped table `sale_note_payments` with 46 row(s)
--

--
-- Table structure for table `sale_opportunities`
--

CREATE TABLE `sale_opportunities` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `external_id` char(36) NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `establishment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `soap_type_id` char(2) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `prefix` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `customer_id` int(10) unsigned NOT NULL,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `currency_type_id` varchar(255) NOT NULL,
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `total_exportation` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_unaffected` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exonerated` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_value` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `filename` varchar(255) DEFAULT NULL,
  `detail` text DEFAULT NULL,
  `observation` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_opportunities_user_id_foreign` (`user_id`),
  KEY `sale_opportunities_establishment_id_foreign` (`establishment_id`),
  KEY `sale_opportunities_customer_id_foreign` (`customer_id`),
  KEY `sale_opportunities_soap_type_id_foreign` (`soap_type_id`),
  KEY `sale_opportunities_state_type_id_foreign` (`state_type_id`),
  KEY `sale_opportunities_currency_type_id_foreign` (`currency_type_id`),
  CONSTRAINT `sale_opportunities_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `sale_opportunities_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `sale_opportunities_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `sale_opportunities_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `sale_opportunities_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `sale_opportunities_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_opportunities`
--

SET autocommit=0;
COMMIT;

-- Dumped table `sale_opportunities` with 0 row(s)
--

--
-- Table structure for table `sale_opportunity_files`
--

CREATE TABLE `sale_opportunity_files` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_opportunity_id` int(10) unsigned NOT NULL,
  `filename` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_opportunity_files_sale_opportunity_id_foreign` (`sale_opportunity_id`),
  CONSTRAINT `sale_opportunity_files_sale_opportunity_id_foreign` FOREIGN KEY (`sale_opportunity_id`) REFERENCES `sale_opportunities` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_opportunity_files`
--

SET autocommit=0;
COMMIT;

-- Dumped table `sale_opportunity_files` with 0 row(s)
--

--
-- Table structure for table `sale_opportunity_items`
--

CREATE TABLE `sale_opportunity_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_opportunity_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `quantity` decimal(12,4) NOT NULL,
  `unit_value` decimal(16,6) NOT NULL,
  `affectation_igv_type_id` varchar(255) NOT NULL,
  `total_base_igv` decimal(12,2) NOT NULL,
  `percentage_igv` decimal(12,2) NOT NULL,
  `total_igv` decimal(12,2) NOT NULL,
  `total_taxes` decimal(12,2) NOT NULL,
  `price_type_id` varchar(255) NOT NULL,
  `unit_price` decimal(16,6) NOT NULL,
  `total_value` decimal(12,2) NOT NULL,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_opportunity_items_sale_opportunity_id_foreign` (`sale_opportunity_id`),
  KEY `sale_opportunity_items_item_id_foreign` (`item_id`),
  KEY `sale_opportunity_items_affectation_igv_type_id_foreign` (`affectation_igv_type_id`),
  KEY `sale_opportunity_items_price_type_id_foreign` (`price_type_id`),
  CONSTRAINT `sale_opportunity_items_affectation_igv_type_id_foreign` FOREIGN KEY (`affectation_igv_type_id`) REFERENCES `cat_affectation_igv_types` (`id`),
  CONSTRAINT `sale_opportunity_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `sale_opportunity_items_price_type_id_foreign` FOREIGN KEY (`price_type_id`) REFERENCES `cat_price_types` (`id`),
  CONSTRAINT `sale_opportunity_items_sale_opportunity_id_foreign` FOREIGN KEY (`sale_opportunity_id`) REFERENCES `sale_opportunities` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_opportunity_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `sale_opportunity_items` with 0 row(s)
--

--
-- Table structure for table `seller_point_ledger`
--

CREATE TABLE `seller_point_ledger` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `seller_id` int(10) unsigned NOT NULL,
  `cash_id` int(10) unsigned DEFAULT NULL,
  `shift_type` varchar(10) DEFAULT NULL,
  `sales_net` decimal(12,2) NOT NULL DEFAULT 0.00,
  `points` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'con signo: + earned / +-/ adjustment',
  `reason` varchar(20) NOT NULL DEFAULT 'earned',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seller_point_ledger_seller_id_created_at_index` (`seller_id`,`created_at`),
  KEY `seller_point_ledger_seller_id_index` (`seller_id`),
  KEY `seller_point_ledger_cash_id_index` (`cash_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `seller_point_ledger`
--

SET autocommit=0;
COMMIT;

-- Dumped table `seller_point_ledger` with 0 row(s)
--

--
-- Table structure for table `seller_reward`
--

CREATE TABLE `seller_reward` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `points_cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `stock` int(11) DEFAULT NULL COMMENT 'NULL = ilimitado',
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seller_reward_active_index` (`active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `seller_reward`
--

SET autocommit=0;
COMMIT;

-- Dumped table `seller_reward` with 0 row(s)
--

--
-- Table structure for table `seller_reward_redemption`
--

CREATE TABLE `seller_reward_redemption` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `seller_id` int(10) unsigned NOT NULL,
  `seller_reward_id` int(10) unsigned NOT NULL,
  `reward_name` varchar(255) NOT NULL,
  `points_cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seller_reward_redemption_seller_id_created_at_index` (`seller_id`,`created_at`),
  KEY `seller_reward_redemption_seller_id_index` (`seller_id`),
  KEY `seller_reward_redemption_seller_reward_id_index` (`seller_reward_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `seller_reward_redemption`
--

SET autocommit=0;
COMMIT;

-- Dumped table `seller_reward_redemption` with 0 row(s)
--

--
-- Table structure for table `series`
--

CREATE TABLE `series` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `establishment_id` int(10) unsigned NOT NULL,
  `document_type_id` varchar(255) NOT NULL,
  `number` varchar(255) NOT NULL,
  `contingency` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `series_establishment_id_foreign` (`establishment_id`),
  KEY `series_document_type_id_foreign` (`document_type_id`),
  CONSTRAINT `series_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `series_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `series`
--

SET autocommit=0;
INSERT INTO `series` VALUES (3,1,'07','FC01',0,NULL,NULL),(4,1,'07','BC01',0,NULL,NULL),(5,1,'08','FD01',0,NULL,NULL),(6,1,'08','BD01',0,NULL,NULL),(7,1,'20','R001',0,NULL,NULL),(8,1,'09','T001',0,NULL,NULL),(9,1,'40','P001',0,NULL,NULL),(10,1,'80','NV01',0,NULL,NULL),(11,1,'04','L001',0,NULL,NULL),(12,1,'U2','NIA1',0,NULL,NULL),(13,1,'U3','NSA1',0,NULL,NULL),(14,1,'U4','NTA1',0,NULL,NULL),(16,1,'03','BA01',0,'2025-12-27 23:56:47','2025-12-27 23:56:47'),(17,1,'01','F001',0,'2025-12-28 00:00:35','2025-12-28 00:00:35');
COMMIT;

-- Dumped table `series` with 14 row(s)
--

--
-- Table structure for table `series_configurations`
--

CREATE TABLE `series_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `series_id` int(10) unsigned NOT NULL,
  `document_type_id` varchar(255) NOT NULL,
  `series` varchar(255) NOT NULL,
  `number` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `series_configurations_series_id_foreign` (`series_id`),
  KEY `series_configurations_series_index` (`series`),
  KEY `series_configurations_number_index` (`number`),
  KEY `series_configurations_document_type_id_foreign` (`document_type_id`),
  CONSTRAINT `series_configurations_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `series_configurations_series_id_foreign` FOREIGN KEY (`series_id`) REFERENCES `series` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `series_configurations`
--

SET autocommit=0;
INSERT INTO `series_configurations` VALUES (1,16,'03','BA01','131','2025-12-28 00:00:01','2025-12-28 00:00:01'),(2,17,'01','F001','5','2025-12-28 00:01:20','2025-12-28 00:01:20');
COMMIT;

-- Dumped table `series_configurations` with 2 row(s)
--

--
-- Table structure for table `skins`
--

CREATE TABLE `skins` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `filename` varchar(255) NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `skins`
--

SET autocommit=0;
INSERT INTO `skins` VALUES (1,'Default','default.css',1,NULL,NULL),(2,'Light','light.css',1,NULL,NULL);
COMMIT;

-- Dumped table `skins` with 2 row(s)
--

--
-- Table structure for table `soap_types`
--

CREATE TABLE `soap_types` (
  `id` char(2) NOT NULL,
  `description` varchar(255) NOT NULL,
  KEY `soap_types_id_index` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `soap_types`
--

SET autocommit=0;
INSERT INTO `soap_types` VALUES ('01','Demo'),('02','Producción'),('03','Interno');
COMMIT;

-- Dumped table `soap_types` with 3 row(s)
--

--
-- Table structure for table `specialties`
--

CREATE TABLE `specialties` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `code` varchar(255) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `status` tinyint(1) DEFAULT 1,
  `item_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `specialties_code_unique` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `specialties`
--

SET autocommit=0;
COMMIT;

-- Dumped table `specialties` with 0 row(s)
--

--
-- Table structure for table `state_types`
--

CREATE TABLE `state_types` (
  `id` char(2) NOT NULL,
  `description` varchar(255) NOT NULL,
  KEY `state_types_id_index` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `state_types`
--

SET autocommit=0;
INSERT INTO `state_types` VALUES ('01','Registrado'),('03','Enviado'),('05','Aceptado'),('07','Observado'),('09','Rechazado'),('11','Anulado'),('13','Por anular');
COMMIT;

-- Dumped table `state_types` with 7 row(s)
--

--
-- Table structure for table `status_orders`
--

CREATE TABLE `status_orders` (
  `id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(30) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `status_orders`
--

SET autocommit=0;
INSERT INTO `status_orders` VALUES (1,'Pago sin verificar','2025-12-27 23:47:06',NULL),(2,'Pago verificado','2025-12-27 23:47:06',NULL),(3,'Despachado','2025-12-27 23:47:06',NULL),(4,'Confirmado por el cliente','2025-12-27 23:47:06',NULL);
COMMIT;

-- Dumped table `status_orders` with 4 row(s)
--

--
-- Table structure for table `summaries`
--

CREATE TABLE `summaries` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `external_id` char(36) NOT NULL,
  `soap_type_id` char(2) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `summary_status_type_id` varchar(255) NOT NULL,
  `ubl_version` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `date_of_reference` date NOT NULL,
  `identifier` varchar(255) NOT NULL,
  `filename` varchar(255) NOT NULL,
  `unique_filename` varchar(255) DEFAULT NULL,
  `ticket` varchar(255) DEFAULT NULL,
  `has_ticket` tinyint(1) NOT NULL DEFAULT 0,
  `has_cdr` tinyint(1) NOT NULL DEFAULT 0,
  `soap_shipping_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `send_to_pse` tinyint(1) NOT NULL DEFAULT 0,
  `response_signature_pse` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `response_send_cdr_pse` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `unknown_error_status_response` tinyint(1) NOT NULL DEFAULT 0,
  `manually_regularized` tinyint(1) NOT NULL DEFAULT 0,
  `error_manually_regularized` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `summaries_unique_filename_unique` (`unique_filename`),
  KEY `summaries_user_id_foreign` (`user_id`),
  KEY `summaries_soap_type_id_foreign` (`soap_type_id`),
  KEY `summaries_state_type_id_foreign` (`state_type_id`),
  KEY `summaries_summary_status_type_id_foreign` (`summary_status_type_id`),
  KEY `summaries_date_of_issue_index` (`date_of_issue`),
  CONSTRAINT `summaries_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `summaries_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `summaries_summary_status_type_id_foreign` FOREIGN KEY (`summary_status_type_id`) REFERENCES `cat_summary_status_types` (`id`),
  CONSTRAINT `summaries_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `summaries`
--

SET autocommit=0;
COMMIT;

-- Dumped table `summaries` with 0 row(s)
--

--
-- Table structure for table `summary_documents`
--

CREATE TABLE `summary_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `summary_id` int(10) unsigned NOT NULL,
  `document_id` int(10) unsigned NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `summary_documents_summary_id_foreign` (`summary_id`),
  KEY `summary_documents_document_id_foreign` (`document_id`),
  CONSTRAINT `summary_documents_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`),
  CONSTRAINT `summary_documents_summary_id_foreign` FOREIGN KEY (`summary_id`) REFERENCES `summaries` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `summary_documents`
--

SET autocommit=0;
COMMIT;

-- Dumped table `summary_documents` with 0 row(s)
--

--
-- Table structure for table `supplier_item_aliases`
--

CREATE TABLE `supplier_item_aliases` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `supplier_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `supplier_item_code` varchar(100) DEFAULT NULL,
  `supplier_description_original` varchar(500) DEFAULT NULL,
  `supplier_description_normalized` varchar(255) DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `supplier_item_aliases_supplier_code_unique` (`supplier_id`,`supplier_item_code`),
  KEY `supplier_item_aliases_item_id_foreign` (`item_id`),
  KEY `supplier_item_aliases_created_by_foreign` (`created_by`),
  KEY `supplier_item_aliases_supplier_desc_idx` (`supplier_id`,`supplier_description_normalized`),
  CONSTRAINT `supplier_item_aliases_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`),
  CONSTRAINT `supplier_item_aliases_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `supplier_item_aliases_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `supplier_item_aliases`
--

SET autocommit=0;
COMMIT;

-- Dumped table `supplier_item_aliases` with 0 row(s)
--

--
-- Table structure for table `suscription_grade`
--

CREATE TABLE `suscription_grade` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscription_grade`
--

SET autocommit=0;
INSERT INTO `suscription_grade` VALUES (1,'1er'),(2,'2do'),(3,'3ro'),(4,'4to'),(5,'5to'),(6,'6to'),(7,'7mo'),(8,'8vo');
COMMIT;

-- Dumped table `suscription_grade` with 8 row(s)
--

--
-- Table structure for table `suscription_plans`
--

CREATE TABLE `suscription_plans` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cat_period_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con el periodo de tiempo',
  `name` text NOT NULL COMMENT 'Nombre del plan',
  `description` longtext NOT NULL COMMENT 'Descripcion del plan',
  `total` double(12,2) DEFAULT 0.00 COMMENT 'El total del costo del plan',
  `currency_type_id` varchar(255) DEFAULT NULL,
  `payment_method_type_id` varchar(255) DEFAULT NULL,
  `quantity_period` int(10) unsigned DEFAULT NULL,
  `exchange_rate_sale` double(13,3) DEFAULT 0.000,
  `total_prepayment` double(12,2) DEFAULT 0.00,
  `total_charge` double(12,2) DEFAULT 0.00,
  `total_discount` double(12,2) DEFAULT 0.00,
  `total_exportation` double(12,2) DEFAULT 0.00,
  `total_free` double(12,2) DEFAULT 0.00,
  `total_taxed` double(12,2) DEFAULT 0.00,
  `total_unaffected` double(12,2) DEFAULT 0.00,
  `total_exonerated` double(12,2) DEFAULT 0.00,
  `total_igv` double(12,2) DEFAULT 0.00,
  `total_igv_free` double(12,2) DEFAULT 0.00,
  `total_base_isc` double(12,2) DEFAULT 0.00,
  `total_isc` double(12,2) DEFAULT 0.00,
  `total_base_other_taxes` double(12,2) DEFAULT 0.00,
  `total_other_taxes` double(12,2) DEFAULT 0.00,
  `total_taxes` double(12,2) DEFAULT 0.00,
  `total_value` double(12,2) DEFAULT 0.00,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `related` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `perception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `detraction` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `terms_condition` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscription_plans`
--

SET autocommit=0;
INSERT INTO `suscription_plans` VALUES (1,1,'Matricula Escolar','Demostración de matricula escolar',1.00,'PEN','01',12,0.000,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
COMMIT;

-- Dumped table `suscription_plans` with 1 row(s)
--

--
-- Table structure for table `suscription_section`
--

CREATE TABLE `suscription_section` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscription_section`
--

SET autocommit=0;
INSERT INTO `suscription_section` VALUES (1,'A'),(2,'B'),(3,'C'),(4,'D'),(5,'E'),(6,'F'),(7,'G'),(8,'H');
COMMIT;

-- Dumped table `suscription_section` with 8 row(s)
--

--
-- Table structure for table `system_activity_logs`
--

CREATE TABLE `system_activity_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `system_activity_log_type_id` varchar(255) DEFAULT NULL,
  `date` date NOT NULL,
  `time` time NOT NULL,
  `origin_id` int(11) DEFAULT NULL,
  `origin_type` varchar(255) DEFAULT NULL,
  `ip` varchar(255) DEFAULT NULL,
  `device_name` varchar(255) DEFAULT NULL,
  `device_type` varchar(255) DEFAULT NULL,
  `platform_name` varchar(255) DEFAULT NULL,
  `platform_version` varchar(255) DEFAULT NULL,
  `browser_name` varchar(255) DEFAULT NULL,
  `browser_version` varchar(255) DEFAULT NULL,
  `request_email` varchar(255) DEFAULT NULL,
  `route` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `location` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_index` (`origin_id`,`origin_type`),
  KEY `system_activity_logs_user_id_foreign` (`user_id`),
  KEY `system_activity_logs_auth_transaction_type_index` (`system_activity_log_type_id`),
  KEY `system_activity_logs_date_index` (`date`),
  KEY `system_activity_logs_time_index` (`time`),
  KEY `system_activity_logs_device_type_index` (`device_type`),
  CONSTRAINT `system_activity_logs_system_activity_log_type_id_foreign` FOREIGN KEY (`system_activity_log_type_id`) REFERENCES `system_activity_log_types` (`id`),
  CONSTRAINT `system_activity_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=158 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `system_activity_logs`
--

SET autocommit=0;
INSERT INTO `system_activity_logs` VALUES (1,NULL,'failed','2025-12-27','23:49:20',NULL,NULL,'179.6.80.165','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2025-12-27 23:49:20','2025-12-27 23:49:20'),(2,1,'login','2025-12-27','23:49:26',1,'App\\Models\\Tenant\\User','179.6.80.165','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2025-12-27 23:49:26','2025-12-27 23:49:26'),(3,1,'companies_soap_send_id','2025-12-27','23:52:21',1,'App\\Models\\Tenant\\Company','179.6.80.165','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2025-12-27 23:52:21','2025-12-27 23:52:21'),(4,1,'companies_soap_type_id','2025-12-27','23:52:21',1,'App\\Models\\Tenant\\Company','179.6.80.165','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2025-12-27 23:52:21','2025-12-27 23:52:21'),(5,1,'companies_soap_send_id','2025-12-27','23:54:27',1,'App\\Models\\Tenant\\Company','179.6.80.165','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2025-12-27 23:54:27','2025-12-27 23:54:27'),(6,1,'companies_soap_username','2025-12-27','23:54:27',1,'App\\Models\\Tenant\\Company','179.6.80.165','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2025-12-27 23:54:27','2025-12-27 23:54:27'),(7,1,'companies_soap_password','2025-12-27','23:54:27',1,'App\\Models\\Tenant\\Company','179.6.80.165','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2025-12-27 23:54:27','2025-12-27 23:54:27'),(8,1,'companies_certificate','2025-12-27','23:54:41',1,'App\\Models\\Tenant\\Company','179.6.80.165','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2025-12-27 23:54:41','2025-12-27 23:54:41'),(9,1,'logout','2025-12-28','00:26:24',1,'App\\Models\\Tenant\\User','179.6.80.165','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2025-12-28 00:26:24','2025-12-28 00:26:24'),(10,2,'login','2025-12-28','00:26:27',2,'App\\Models\\Tenant\\User','179.6.80.165','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LAL\",\"region_name\":\"La Libertad\",\"city_name\":\"Trujillo\",\"latitude\":\"-8.1191\",\"longitude\":\"-79.0355\",\"timezone\":\"America\\/Lima\"}','2025-12-28 00:26:27','2025-12-28 00:26:27'),(11,2,'login','2025-12-29','22:45:08',2,'App\\Models\\Tenant\\User','45.231.32.149','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2025-12-29 22:45:08','2025-12-29 22:45:08'),(12,2,'login','2025-12-30','20:24:29',2,'App\\Models\\Tenant\\User','45.231.32.149','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2025-12-30 20:24:29','2025-12-30 20:24:29'),(13,2,'login','2025-12-30','22:56:38',2,'App\\Models\\Tenant\\User','45.231.32.149','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2025-12-30 22:56:38','2025-12-30 22:56:38'),(14,2,'login','2025-12-31','16:22:21',2,'App\\Models\\Tenant\\User','45.231.32.133','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2025-12-31 16:22:21','2025-12-31 16:22:21'),(15,2,'login','2025-12-31','21:40:27',2,'App\\Models\\Tenant\\User','45.231.32.133','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2025-12-31 21:40:27','2025-12-31 21:40:27'),(16,2,'login','2026-01-02','18:48:07',2,'App\\Models\\Tenant\\User','45.231.32.133','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-02 18:48:07','2026-01-02 18:48:07'),(17,2,'login','2026-01-02','18:49:52',2,'App\\Models\\Tenant\\User','45.231.32.133','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-02 18:49:52','2026-01-02 18:49:52'),(18,2,'login','2026-01-03','08:43:36',2,'App\\Models\\Tenant\\User','45.231.32.133','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-03 08:43:36','2026-01-03 08:43:36'),(19,2,'login','2026-01-04','11:02:44',2,'App\\Models\\Tenant\\User','45.231.32.133','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-04 11:02:44','2026-01-04 11:02:44'),(20,2,'login','2026-01-05','16:36:57',2,'App\\Models\\Tenant\\User','45.231.32.142','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-05 16:36:57','2026-01-05 16:36:57'),(21,2,'login','2026-01-07','20:26:04',2,'App\\Models\\Tenant\\User','45.231.32.146','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-07 20:26:04','2026-01-07 20:26:04'),(22,2,'login','2026-01-09','22:55:28',2,'App\\Models\\Tenant\\User','45.231.32.146','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-09 22:55:28','2026-01-09 22:55:28'),(23,2,'login','2026-01-12','21:13:26',2,'App\\Models\\Tenant\\User','45.231.32.146','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-12 21:13:26','2026-01-12 21:13:26'),(24,2,'logout','2026-01-12','22:48:24',2,'App\\Models\\Tenant\\User','45.231.32.146','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-12 22:48:24','2026-01-12 22:48:24'),(25,2,'login','2026-01-13','17:39:16',2,'App\\Models\\Tenant\\User','45.231.32.146','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-13 17:39:16','2026-01-13 17:39:16'),(26,2,'login','2026-01-13','22:55:40',2,'App\\Models\\Tenant\\User','45.231.32.146','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-13 22:55:40','2026-01-13 22:55:40'),(27,2,'login','2026-01-14','23:00:50',2,'App\\Models\\Tenant\\User','45.231.32.146','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-14 23:00:50','2026-01-14 23:00:50'),(28,2,'login','2026-01-15','22:12:14',2,'App\\Models\\Tenant\\User','45.231.32.146','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-15 22:12:14','2026-01-15 22:12:14'),(29,2,'login','2026-01-18','17:00:07',2,'App\\Models\\Tenant\\User','45.231.32.146','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-18 17:00:07','2026-01-18 17:00:07'),(30,2,'login','2026-01-18','22:58:39',2,'App\\Models\\Tenant\\User','45.231.32.146','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-18 22:58:39','2026-01-18 22:58:39'),(31,2,'logout','2026-01-18','22:58:55',2,'App\\Models\\Tenant\\User','45.231.32.146','WebKit','desktop','Windows','10.0','Chrome','143.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-18 22:58:55','2026-01-18 22:58:55'),(32,2,'login','2026-01-20','22:19:16',2,'App\\Models\\Tenant\\User','45.231.32.146','WebKit','desktop','Windows','10.0','Chrome','144.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-20 22:19:16','2026-01-20 22:19:16'),(33,2,'login','2026-01-23','17:40:16',2,'App\\Models\\Tenant\\User','45.231.32.133','WebKit','desktop','Windows','10.0','Chrome','144.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-23 17:40:16','2026-01-23 17:40:16'),(34,2,'login','2026-01-23','22:54:14',2,'App\\Models\\Tenant\\User','45.231.32.133','WebKit','desktop','Windows','10.0','Chrome','144.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-23 22:54:14','2026-01-23 22:54:14'),(35,2,'login','2026-01-26','22:56:01',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','144.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-26 22:56:01','2026-01-26 22:56:01'),(36,2,'login','2026-01-28','20:43:14',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','144.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-28 20:43:14','2026-01-28 20:43:14'),(37,2,'logout','2026-01-28','22:51:37',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','144.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-01-28 22:51:37','2026-01-28 22:51:37'),(38,2,'login','2026-02-01','10:48:47',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','144.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-02-01 10:48:47','2026-02-01 10:48:47'),(39,2,'login','2026-02-01','22:54:34',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','144.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-02-01 22:54:34','2026-02-01 22:54:34'),(40,2,'login','2026-02-08','09:19:02',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','144.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-02-08 09:19:02','2026-02-08 09:19:02'),(41,2,'login','2026-02-14','22:31:53',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','144.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-02-14 22:31:53','2026-02-14 22:31:53'),(42,2,'login','2026-02-17','22:38:32',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','144.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-02-17 22:38:32','2026-02-17 22:38:32'),(43,2,'login','2026-02-18','07:28:35',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','144.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-02-18 07:28:35','2026-02-18 07:28:35'),(44,2,'login','2026-02-20','11:06:05',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-02-20 11:06:05','2026-02-20 11:06:05'),(45,2,'login','2026-02-27','20:56:59',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-02-27 20:56:59','2026-02-27 20:56:59'),(46,2,'login','2026-03-01','15:24:31',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-01 15:24:31','2026-03-01 15:24:31'),(47,2,'login','2026-03-01','17:33:06',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-01 17:33:06','2026-03-01 17:33:06'),(48,2,'login','2026-03-01','22:54:35',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-01 22:54:35','2026-03-01 22:54:35'),(49,2,'login','2026-03-02','12:53:07',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-02 12:53:07','2026-03-02 12:53:07'),(50,2,'login','2026-03-02','23:00:33',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-02 23:00:33','2026-03-02 23:00:33'),(51,2,'login','2026-03-03','22:52:38',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-03 22:52:38','2026-03-03 22:52:38'),(52,2,'login','2026-03-04','07:28:19',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-04 07:28:19','2026-03-04 07:28:19'),(53,2,'login','2026-03-04','23:01:00',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-04 23:01:00','2026-03-04 23:01:00'),(54,2,'login','2026-03-05','10:27:15',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-05 10:27:15','2026-03-05 10:27:15'),(55,2,'login','2026-03-05','18:40:41',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-05 18:40:41','2026-03-05 18:40:41'),(56,2,'logout','2026-03-05','22:52:09',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-05 22:52:09','2026-03-05 22:52:09'),(57,2,'login','2026-03-06','08:07:31',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-06 08:07:31','2026-03-06 08:07:31'),(58,2,'login','2026-03-06','14:39:49',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-06 14:39:49','2026-03-06 14:39:49'),(59,2,'login','2026-03-06','19:04:23',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-06 19:04:23','2026-03-06 19:04:23'),(60,2,'login','2026-03-06','22:20:20',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-06 22:20:20','2026-03-06 22:20:20'),(61,2,'logout','2026-03-06','23:00:01',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-06 23:00:01','2026-03-06 23:00:01'),(62,2,'login','2026-03-07','08:22:31',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-07 08:22:31','2026-03-07 08:22:31'),(63,2,'login','2026-03-07','15:29:58',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-07 15:29:58','2026-03-07 15:29:58'),(64,2,'login','2026-03-07','18:16:10',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-07 18:16:10','2026-03-07 18:16:10'),(65,2,'logout','2026-03-07','22:59:02',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-07 22:59:02','2026-03-07 22:59:02'),(66,2,'login','2026-03-08','09:29:40',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-08 09:29:40','2026-03-08 09:29:40'),(67,2,'login','2026-03-08','13:56:17',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-08 13:56:17','2026-03-08 13:56:17'),(68,2,'login','2026-03-08','18:21:21',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-08 18:21:21','2026-03-08 18:21:21'),(69,2,'login','2026-03-08','22:56:59',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-08 22:56:59','2026-03-08 22:56:59'),(70,2,'logout','2026-03-08','22:57:20',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-08 22:57:20','2026-03-08 22:57:20'),(71,2,'login','2026-03-09','10:19:55',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-09 10:19:55','2026-03-09 10:19:55'),(72,2,'login','2026-03-09','13:59:50',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-09 13:59:50','2026-03-09 13:59:50'),(73,2,'login','2026-03-09','18:23:14',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-09 18:23:14','2026-03-09 18:23:14'),(74,2,'login','2026-03-09','22:56:16',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-09 22:56:16','2026-03-09 22:56:16'),(75,2,'login','2026-03-10','15:04:10',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-10 15:04:10','2026-03-10 15:04:10'),(76,2,'login','2026-03-10','18:54:29',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-10 18:54:29','2026-03-10 18:54:29'),(77,2,'login','2026-03-10','18:54:51',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-10 18:54:51','2026-03-10 18:54:51'),(78,2,'login','2026-03-11','08:26:11',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-11 08:26:11','2026-03-11 08:26:11'),(79,2,'login','2026-03-11','14:36:06',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-11 14:36:06','2026-03-11 14:36:06'),(80,2,'login','2026-03-11','22:20:11',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-11 22:20:11','2026-03-11 22:20:11'),(81,2,'login','2026-03-11','22:20:20',2,'App\\Models\\Tenant\\User','45.231.32.152','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-11 22:20:20','2026-03-11 22:20:20'),(82,2,'login','2026-03-12','07:58:16',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-12 07:58:16','2026-03-12 07:58:16'),(83,2,'login','2026-03-12','12:49:05',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-12 12:49:05','2026-03-12 12:49:05'),(84,2,'login','2026-03-12','15:26:06',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','145.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-12 15:26:06','2026-03-12 15:26:06'),(85,2,'login','2026-03-12','20:41:06',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-12 20:41:06','2026-03-12 20:41:06'),(86,2,'login','2026-03-13','22:38:03',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-13 22:38:03','2026-03-13 22:38:03'),(87,2,'logout','2026-03-13','22:38:17',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-13 22:38:17','2026-03-13 22:38:17'),(88,2,'login','2026-03-14','08:48:59',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-14 08:48:59','2026-03-14 08:48:59'),(89,2,'login','2026-03-14','22:56:49',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-14 22:56:49','2026-03-14 22:56:49'),(90,2,'login','2026-03-15','07:06:19',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-15 07:06:19','2026-03-15 07:06:19'),(91,2,'login','2026-03-17','20:03:16',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-17 20:03:16','2026-03-17 20:03:16'),(92,2,'login','2026-03-18','15:48:39',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-18 15:48:39','2026-03-18 15:48:39'),(93,2,'login','2026-03-18','22:55:33',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-18 22:55:33','2026-03-18 22:55:33'),(94,2,'login','2026-03-19','22:44:01',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-19 22:44:01','2026-03-19 22:44:01'),(95,2,'login','2026-03-20','15:26:37',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-20 15:26:37','2026-03-20 15:26:37'),(96,2,'login','2026-03-21','07:32:40',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-21 07:32:40','2026-03-21 07:32:40'),(97,2,'login','2026-03-21','21:24:26',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-21 21:24:26','2026-03-21 21:24:26'),(98,2,'login','2026-03-24','22:51:05',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-24 22:51:05','2026-03-24 22:51:05'),(99,2,'logout','2026-03-24','22:51:17',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-24 22:51:17','2026-03-24 22:51:17'),(100,2,'login','2026-03-25','22:44:19',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-25 22:44:19','2026-03-25 22:44:19'),(101,2,'login','2026-03-28','20:24:43',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-28 20:24:43','2026-03-28 20:24:43'),(102,2,'login','2026-03-31','23:04:47',2,'App\\Models\\Tenant\\User','45.231.32.169','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-03-31 23:04:47','2026-03-31 23:04:47'),(103,2,'login','2026-04-13','18:08:24',2,'App\\Models\\Tenant\\User','45.231.32.153','WebKit','desktop','Windows','10.0','Chrome','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-13 18:08:24','2026-04-13 18:08:24'),(104,2,'login','2026-04-14','07:55:09',2,'App\\Models\\Tenant\\User','45.231.32.153','WebKit','desktop','Windows','10.0','Chrome','147.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-14 07:55:09','2026-04-14 07:55:09'),(105,2,'login','2026-04-15','09:49:04',2,'App\\Models\\Tenant\\User','45.231.32.153','WebKit','desktop','Windows','10.0','Chrome','147.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-15 09:49:04','2026-04-15 09:49:04'),(106,2,'login','2026-04-16','09:10:52',2,'App\\Models\\Tenant\\User','45.231.32.190','WebKit','desktop','Windows','10.0','Chrome','147.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-16 09:10:52','2026-04-16 09:10:52'),(107,2,'login','2026-04-17','23:03:26',2,'App\\Models\\Tenant\\User','45.231.32.190','WebKit','desktop','Windows','10.0','Chrome','147.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-17 23:03:26','2026-04-17 23:03:26'),(108,2,'login','2026-04-18','08:05:20',2,'App\\Models\\Tenant\\User','45.231.32.190','WebKit','desktop','Windows','10.0','Chrome','147.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-18 08:05:20','2026-04-18 08:05:20'),(109,2,'login','2026-04-18','22:54:46',2,'App\\Models\\Tenant\\User','45.231.32.190','WebKit','desktop','Windows','10.0','Chrome','147.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-18 22:54:46','2026-04-18 22:54:46'),(110,2,'login','2026-04-20','17:26:54',2,'App\\Models\\Tenant\\User','45.231.32.190','WebKit','desktop','Windows','10.0','Chrome','147.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-20 17:26:54','2026-04-20 17:26:54'),(111,2,'login','2026-04-21','17:16:41',2,'App\\Models\\Tenant\\User','45.231.32.190','WebKit','desktop','Windows','10.0','Chrome','147.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-21 17:16:41','2026-04-21 17:16:41'),(112,2,'login','2026-04-22','22:45:18',2,'App\\Models\\Tenant\\User','45.231.32.190','WebKit','desktop','Windows','10.0','Chrome','147.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-22 22:45:18','2026-04-22 22:45:18'),(113,2,'login','2026-04-23','22:55:31',2,'App\\Models\\Tenant\\User','45.231.32.190','WebKit','desktop','Windows','10.0','Chrome','147.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-23 22:55:31','2026-04-23 22:55:31'),(114,2,'login','2026-04-25','11:24:09',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','147.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-25 11:24:09','2026-04-25 11:24:09'),(115,2,'login','2026-04-27','22:55:38',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','147.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-27 22:55:38','2026-04-27 22:55:38'),(116,2,'login','2026-04-30','08:35:36',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','147.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-04-30 08:35:36','2026-04-30 08:35:36'),(117,2,'login','2026-05-06','22:51:31',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','148.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-05-06 22:51:31','2026-05-06 22:51:31'),(118,2,'login','2026-05-08','22:57:44',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','148.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-05-08 22:57:44','2026-05-08 22:57:44'),(119,2,'failed','2026-05-19','10:01:49',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','148.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-05-19 10:01:49','2026-05-19 10:01:49'),(120,2,'login','2026-06-01','09:32:19',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','148.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-01 09:32:19','2026-06-01 09:32:19'),(121,2,'logout','2026-06-01','09:32:46',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','148.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-01 09:32:46','2026-06-01 09:32:46'),(122,2,'login','2026-06-01','09:33:23',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','148.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-01 09:33:23','2026-06-01 09:33:23'),(123,2,'login','2026-06-03','09:22:13',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','148.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-03 09:22:13','2026-06-03 09:22:13'),(124,2,'login','2026-06-06','07:31:35',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-06 07:31:35','2026-06-06 07:31:35'),(125,2,'login','2026-06-08','07:49:23',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-08 07:49:23','2026-06-08 07:49:23'),(126,2,'login','2026-06-10','16:40:20',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-10 16:40:20','2026-06-10 16:40:20'),(127,2,'login','2026-06-12','13:35:26',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-12 13:35:26','2026-06-12 13:35:26'),(128,2,'login','2026-06-14','09:25:35',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-14 09:25:35','2026-06-14 09:25:35'),(129,2,'login','2026-06-18','14:56:15',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-18 14:56:15','2026-06-18 14:56:15'),(130,2,'login','2026-06-21','14:00:53',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-21 14:00:53','2026-06-21 14:00:53'),(131,2,'login','2026-06-22','14:42:42',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-22 14:42:42','2026-06-22 14:42:42'),(132,2,'login','2026-06-25','08:49:55',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-25 08:49:55','2026-06-25 08:49:55'),(133,2,'login','2026-06-30','10:53:50',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-06-30 10:53:50','2026-06-30 10:53:50'),(134,2,'login','2026-07-01','09:32:39',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-07-01 09:32:39','2026-07-01 09:32:39'),(135,1,'failed','2026-07-02','22:13:39',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-02 22:13:39','2026-07-02 22:13:39'),(136,1,'login','2026-07-02','22:13:43',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-02 22:13:43','2026-07-02 22:13:43'),(137,2,'login','2026-07-16','09:25:44',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-07-16 09:25:44','2026-07-16 09:25:44'),(138,2,'inventory_created','2026-07-16','09:26:32',844,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'items',NULL,NULL,'2026-07-16 09:26:32','2026-07-16 09:26:32'),(139,2,'inventory_created','2026-07-16','10:04:05',845,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'items',NULL,NULL,'2026-07-16 10:04:05','2026-07-16 10:04:05'),(140,2,'login','2026-07-18','13:27:07',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-07-18 13:27:07','2026-07-18 13:27:07'),(141,2,'login','2026-07-21','07:41:22',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-07-21 07:41:22','2026-07-21 07:41:22'),(142,2,'inventory_created','2026-07-21','07:45:56',846,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'items',NULL,NULL,'2026-07-21 07:45:56','2026-07-21 07:45:56'),(143,2,'inventory_created','2026-07-21','07:46:53',847,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'items',NULL,NULL,'2026-07-21 07:46:53','2026-07-21 07:46:53'),(144,2,'login','2026-07-22','12:06:58',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-07-22 12:06:58','2026-07-22 12:06:58'),(145,2,'login','2026-07-23','09:50:43',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-07-23 09:50:43','2026-07-23 09:50:43'),(146,2,'inventory_created','2026-07-23','09:52:07',848,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'items',NULL,NULL,'2026-07-23 09:52:07','2026-07-23 09:52:07'),(147,2,'inventory_created','2026-07-23','09:54:16',849,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'items',NULL,NULL,'2026-07-23 09:54:16','2026-07-23 09:54:16'),(148,2,'inventory_created','2026-07-23','09:56:12',850,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'items',NULL,NULL,'2026-07-23 09:56:12','2026-07-23 09:56:12'),(149,2,'login','2026-07-26','08:13:54',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-07-26 08:13:54','2026-07-26 08:13:54'),(150,2,'login','2026-07-28','08:42:45',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-07-28 08:42:45','2026-07-28 08:42:45'),(151,2,'inventory_created','2026-07-28','08:48:19',851,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'items',NULL,NULL,'2026-07-28 08:48:19','2026-07-28 08:48:19'),(152,2,'login','2026-07-28','23:01:13',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-07-28 23:01:13','2026-07-28 23:01:13'),(153,2,'login','2026-07-29','09:21:13',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-07-29 09:21:13','2026-07-29 09:21:13'),(154,2,'login','2026-07-29','22:57:31',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-07-29 22:57:31','2026-07-29 22:57:31'),(155,2,'logout','2026-07-29','22:57:40',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-07-29 22:57:40','2026-07-29 22:57:40'),(156,2,'login','2026-07-31','21:35:43',2,'App\\Models\\Tenant\\User','45.231.32.184','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"MDD\",\"region_name\":\"Madre de Dios\",\"city_name\":\"Puerto Maldonado\",\"latitude\":\"-12.5895\",\"longitude\":\"-69.1995\",\"timezone\":\"America\\/Lima\"}','2026-07-31 21:35:43','2026-07-31 21:35:43'),(157,2,'inventory_created','2026-07-31','21:37:17',852,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,'items',NULL,NULL,'2026-07-31 21:37:17','2026-07-31 21:37:17');
COMMIT;

-- Dumped table `system_activity_logs` with 157 row(s)
--

--
-- Table structure for table `system_activity_log_types`
--

CREATE TABLE `system_activity_log_types` (
  `id` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `system_activity_log_types`
--

SET autocommit=0;
INSERT INTO `system_activity_log_types` VALUES ('companies_certificate','Actualización del campo certificado en configuración de empresa'),('companies_name','Actualización del campo nombre en configuración de empresa'),('companies_number','Actualización del campo número en configuración de empresa'),('companies_soap_password','Actualización del campo SOAP Contraseña en configuración de empresa'),('companies_soap_send_id','Actualización del campo SOAP envío en configuración de empresa'),('companies_soap_type_id','Actualización del campo SOAP tipo en configuración de empresa'),('companies_soap_url','Actualización del campo SOAP url envío en configuración de empresa'),('companies_soap_username','Actualización del campo SOAP Usuario en configuración de empresa'),('contract_voided','Anulación de contrato'),('document_voided','Anulación de comprobante (boleta/factura)'),('expense_voided','Anulación de gasto'),('failed','Error de inicio de sesión'),('fixed_asset_purchase_voided','Anulación de compra de activo fijo'),('income_voided','Anulación de ingreso'),('inventory_created','Movimiento/ajuste de inventario'),('inventory_transfer_created','Traslado entre almacenes'),('level_module_access_error','Error de acceso al submódulo (no tiene permiso)'),('login','Iniciar sesión'),('login_lockout','Bloqueo de usuario por exceder límite de intentos permitidos al iniciar sesión'),('logout','Cerrar sesión'),('module_access_error','Error de acceso al módulo (no tiene permiso)'),('order_note_voided','Anulación de nota de pedido'),('payment_method_corrected','Corrección de método de pago'),('purchase_order_voided','Anulación de orden de compra'),('purchase_voided','Anulación de compra'),('quotation_voided','Anulación de cotización'),('sale_note_voided','Anulación de nota de venta');
COMMIT;

-- Dumped table `system_activity_log_types` with 27 row(s)
--

--
-- Table structure for table `tags`
--

CREATE TABLE `tags` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` tinyint(1) NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tags`
--

SET autocommit=0;
COMMIT;

-- Dumped table `tags` with 0 row(s)
--

--
-- Table structure for table `tasks`
--

CREATE TABLE `tasks` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `class` varchar(255) NOT NULL,
  `execution_time` time NOT NULL,
  `output` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tasks`
--

SET autocommit=0;
COMMIT;

-- Dumped table `tasks` with 0 row(s)
--

--
-- Table structure for table `technical_services`
--

CREATE TABLE `technical_services` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `soap_type_id` char(2) NOT NULL,
  `establishment_id` int(10) unsigned DEFAULT 0,
  `establishment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `customer_id` int(10) unsigned NOT NULL,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `currency_type_id` text DEFAULT NULL,
  `payment_condition_id` text DEFAULT NULL,
  `payment_method_type_id` text DEFAULT NULL,
  `seller_id` int(10) unsigned DEFAULT 0,
  `exchange_rate_sale` decimal(13,3) DEFAULT 0.000,
  `total_prepayment` decimal(12,2) DEFAULT 0.00,
  `total_charge` decimal(12,2) DEFAULT 0.00,
  `total_discount` decimal(12,2) DEFAULT 0.00,
  `total_exportation` decimal(12,2) DEFAULT 0.00,
  `total_free` decimal(12,2) DEFAULT 0.00,
  `total_taxed` decimal(12,2) DEFAULT 0.00,
  `total_unaffected` decimal(12,2) DEFAULT 0.00,
  `total_exonerated` decimal(12,2) DEFAULT 0.00,
  `total_igv` decimal(12,2) DEFAULT 0.00,
  `total_igv_free` decimal(12,2) DEFAULT 0.00,
  `total_base_isc` decimal(12,2) DEFAULT 0.00,
  `total_isc` decimal(12,2) DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) DEFAULT 0.00,
  `total_plastic_bag_taxes` decimal(6,2) DEFAULT 0.00,
  `total_taxes` decimal(12,2) DEFAULT 0.00,
  `total_value` decimal(12,2) DEFAULT 0.00,
  `subtotal` decimal(12,2) DEFAULT 0.00,
  `total` decimal(12,2) DEFAULT 0.00,
  `is_editable` tinyint(3) unsigned DEFAULT 0,
  `cellphone` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `description` text NOT NULL,
  `state` text NOT NULL,
  `reason` text NOT NULL,
  `serial_number` varchar(255) NOT NULL,
  `filename` varchar(255) DEFAULT NULL,
  `cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `prepayment` decimal(12,2) NOT NULL DEFAULT 0.00,
  `activities` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `brand` varchar(255) DEFAULT NULL,
  `equipment` varchar(255) DEFAULT NULL,
  `important_note` text DEFAULT NULL,
  `repair` tinyint(1) NOT NULL DEFAULT 0,
  `warranty` tinyint(1) NOT NULL DEFAULT 0,
  `maintenance` tinyint(1) NOT NULL DEFAULT 0,
  `diagnosis` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `technical_services_user_id_foreign` (`user_id`),
  KEY `technical_services_soap_type_id_foreign` (`soap_type_id`),
  KEY `technical_services_customer_id_foreign` (`customer_id`),
  KEY `technical_services_date_of_issue_index` (`date_of_issue`),
  KEY `technical_services_serial_number_index` (`serial_number`),
  CONSTRAINT `technical_services_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `technical_services_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `technical_services_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `technical_services`
--

SET autocommit=0;
COMMIT;

-- Dumped table `technical_services` with 0 row(s)
--

--
-- Table structure for table `technical_service_items`
--

CREATE TABLE `technical_service_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `technical_services_id` int(10) unsigned DEFAULT 0 COMMENT 'Id de technical_services',
  `item_id` int(10) unsigned DEFAULT 0 COMMENT 'Id de item',
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Json con el contenido de item',
  `quantity` double(12,4) DEFAULT 0.0000 COMMENT 'Cantidad de item usado',
  `unit_value` double(16,6) DEFAULT 0.000000 COMMENT 'unit_value',
  `affectation_igv_type_id` longtext DEFAULT NULL COMMENT 'Tipo de afectacion dde igv. cat_affectation_igv_types',
  `total_base_igv` double(12,2) DEFAULT 0.00 COMMENT 'Monto base del IGV',
  `percentage_igv` double(12,2) DEFAULT 0.00,
  `total_igv` double(12,2) DEFAULT 0.00,
  `system_isc_type_id` longtext DEFAULT NULL,
  `total_base_isc` double(12,2) DEFAULT 0.00,
  `percentage_isc` double(12,2) DEFAULT 0.00,
  `total_isc` double(12,2) DEFAULT 0.00,
  `total_base_other_taxes` double(12,2) DEFAULT 0.00,
  `percentage_other_taxes` double(12,2) DEFAULT 0.00,
  `total_other_taxes` double(12,2) DEFAULT 0.00,
  `total_plastic_bag_taxes` double(6,2) DEFAULT 0.00,
  `total_taxes` double(12,2) DEFAULT 0.00,
  `price_type_id` longtext DEFAULT NULL,
  `unit_price` double(16,6) DEFAULT 0.000000,
  `total_value` double(12,2) DEFAULT 0.00,
  `total_charge` double(12,2) DEFAULT 0.00,
  `total_discount` double(12,2) DEFAULT 0.00,
  `total` double(12,2) DEFAULT 0.00,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Atributos',
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Descuentos',
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Cargos',
  `additional_information` longtext DEFAULT NULL COMMENT 'Informacion adicional',
  `warehouse_id` int(10) unsigned DEFAULT 0 COMMENT 'Id de item',
  `name_product_pdf` longtext DEFAULT NULL COMMENT 'Nombre de producto en el pdf',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `technical_service_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `technical_service_items` with 0 row(s)
--

--
-- Table structure for table `technical_service_payments`
--

CREATE TABLE `technical_service_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `technical_service_id` int(10) unsigned NOT NULL,
  `date_of_payment` date NOT NULL,
  `payment_method_type_id` char(2) NOT NULL,
  `reference` varchar(255) DEFAULT NULL,
  `change` decimal(12,2) NOT NULL DEFAULT 0.00,
  `payment` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `technical_service_payments_technical_service_id_foreign` (`technical_service_id`),
  KEY `technical_service_payments_payment_method_type_id_foreign` (`payment_method_type_id`),
  CONSTRAINT `technical_service_payments_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `technical_service_payments_technical_service_id_foreign` FOREIGN KEY (`technical_service_id`) REFERENCES `technical_services` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `technical_service_payments`
--

SET autocommit=0;
COMMIT;

-- Dumped table `technical_service_payments` with 0 row(s)
--

--
-- Table structure for table `tips`
--

CREATE TABLE `tips` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `soap_type_id` char(2) NOT NULL,
  `date` date NOT NULL COMMENT 'Fecha de registro',
  `origin_date_of_issue` date NOT NULL COMMENT 'Fecha del documento origen de la propina',
  `origin_id` int(11) NOT NULL,
  `origin_type` varchar(255) NOT NULL,
  `worker_full_name` varchar(255) NOT NULL,
  `total` decimal(12,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `origin_index` (`origin_id`,`origin_type`),
  KEY `tips_soap_type_id_foreign` (`soap_type_id`),
  KEY `tips_date_index` (`date`),
  KEY `tips_origin_date_of_issue_index` (`origin_date_of_issue`),
  KEY `tips_worker_full_name_index` (`worker_full_name`),
  CONSTRAINT `tips_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tips`
--

SET autocommit=0;
COMMIT;

-- Dumped table `tips` with 0 row(s)
--

--
-- Table structure for table `track_api_peru_services`
--

CREATE TABLE `track_api_peru_services` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `service` int(10) unsigned DEFAULT 0 COMMENT 'Tipo de servicio  1 => sunat/dni, 2 => validacion_multiple_cpe, 3 => CPE, 4 => tipo_de_cambio, 5 => printer_ticket',
  `date_of_issue` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `track_api_peru_services`
--

SET autocommit=0;
COMMIT;

-- Dumped table `track_api_peru_services` with 0 row(s)
--

--
-- Table structure for table `transactions`
--

CREATE TABLE `transactions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `payment_link_id` int(10) unsigned NOT NULL,
  `soap_type_id` char(2) DEFAULT NULL,
  `date` date NOT NULL,
  `time` time NOT NULL,
  `uuid` char(36) NOT NULL,
  `description` varchar(255) NOT NULL,
  `payment_id` varchar(255) DEFAULT NULL,
  `amount` decimal(16,2) NOT NULL,
  `transaction_state_id` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `transactions_uuid_unique` (`uuid`),
  KEY `transactions_payment_link_id_foreign` (`payment_link_id`),
  KEY `transactions_transaction_state_id_foreign` (`transaction_state_id`),
  KEY `transactions_date_index` (`date`),
  KEY `transactions_time_index` (`time`),
  KEY `transactions_description_index` (`description`),
  KEY `transactions_payment_id_index` (`payment_id`),
  KEY `transactions_amount_index` (`amount`),
  KEY `transactions_soap_type_id_foreign` (`soap_type_id`),
  CONSTRAINT `transactions_payment_link_id_foreign` FOREIGN KEY (`payment_link_id`) REFERENCES `payment_links` (`id`),
  CONSTRAINT `transactions_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `transactions_transaction_state_id_foreign` FOREIGN KEY (`transaction_state_id`) REFERENCES `transaction_states` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transactions`
--

SET autocommit=0;
COMMIT;

-- Dumped table `transactions` with 0 row(s)
--

--
-- Table structure for table `transaction_queries`
--

CREATE TABLE `transaction_queries` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `time` time NOT NULL,
  `response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `transaction_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `transaction_queries_transaction_id_foreign` (`transaction_id`),
  CONSTRAINT `transaction_queries_transaction_id_foreign` FOREIGN KEY (`transaction_id`) REFERENCES `transactions` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transaction_queries`
--

SET autocommit=0;
COMMIT;

-- Dumped table `transaction_queries` with 0 row(s)
--

--
-- Table structure for table `transaction_states`
--

CREATE TABLE `transaction_states` (
  `id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `success` tinyint(1) NOT NULL,
  `status` varchar(255) NOT NULL,
  `status_detail` varchar(255) NOT NULL,
  `original_message` varchar(255) NOT NULL,
  `user_message` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `transaction_states_name_index` (`name`),
  KEY `transaction_states_success_index` (`success`),
  KEY `transaction_states_status_index` (`status`),
  KEY `transaction_states_status_detail_index` (`status_detail`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transaction_states`
--

SET autocommit=0;
INSERT INTO `transaction_states` VALUES ('00','Rechazado (Error desconocido)',0,'other','other','Error desconocido','Lo sentimos, ocurrió un error inesperado.'),('01','Aceptado',1,'approved','accredited','¡Listo! Se acreditó tu pago. En tu resumen verás el cargo de amount como statement_descriptor.','¡Listo! Se acreditó tu pago. En tu resumen verás el cargo del pago.'),('02','En proceso',1,'in_process','pending_contingency','Estamos procesando tu pago. No te preocupes, menos de 2 días hábiles te avisaremos por e-mail si se acreditó.','Estamos procesando tu pago. No te preocupes, en menos de 2 días hábiles te avisaremos por e-mail si se acreditó.'),('03','En proceso',1,'in_process','pending_review_manual','Estamos procesando tu pago. No te preocupes, menos de 2 días hábiles te avisaremos por e-mail si se acreditó o si necesitamos más información.','Estamos procesando tu pago. No te preocupes, en menos de 2 días hábiles te avisaremos por e-mail si se acreditó o si necesitamos más información.'),('04','Rechazado',0,'rejected','cc_rejected_bad_filled_card_number','Revisa el número de tarjeta.','Lo sentimos, ocurrió un inconveniente. Revisa el número de tarjeta.'),('05','Rechazado',0,'rejected','cc_rejected_bad_filled_date','Revisa la fecha de vencimiento.','Lo sentimos, ocurrió un inconveniente. Revisa la fecha de vencimiento.'),('06','Rechazado',0,'rejected','cc_rejected_bad_filled_other','Revisa los datos.','Lo sentimos, ocurrió un inconveniente. Revisa los datos.'),('07','Rechazado',0,'rejected','cc_rejected_bad_filled_security_code','Revisa el código de seguridad de la tarjeta.','Lo sentimos, ocurrió un inconveniente. Revisa el código de seguridad de la tarjeta.'),('08','Rechazado',0,'rejected','cc_rejected_blacklist','No pudimos procesar tu pago.','Lo sentimos, ocurrió un inconveniente. No pudimos procesar tu pago.'),('09','Rechazado',0,'rejected','cc_rejected_call_for_authorize','Debes autorizar ante payment_method_id el pago de amount.','Debes autorizar ante el medio de pago, el pago a realizar.'),('10','Rechazado',0,'rejected','cc_rejected_card_disabled','Llama a payment_method_id para activar tu tarjeta o usa otro medio de pago. El teléfono está al dorso de tu tarjeta.','Llama a la entidad para activar tu tarjeta o usa otro medio de pago. El teléfono está al dorso de tu tarjeta.'),('11','Rechazado',0,'rejected','cc_rejected_card_error','No pudimos procesar tu pago.','Lo sentimos, ocurrió un inconveniente. No pudimos procesar tu pago.'),('12','Rechazado',0,'rejected','cc_rejected_duplicated_payment','Ya hiciste un pago por ese valor. Si necesitas volver a pagar usa otra tarjeta u otro medio de pago.','Ya hiciste un pago por ese valor. Si necesitas volver a pagar usa otra tarjeta u otro medio de pago.'),('13','Rechazado',0,'rejected','cc_rejected_high_risk','Tu pago fue rechazado. Elige otro de los medios de pago, te recomendamos con medios en efectivo.','Tu pago fue rechazado. Elige otro de los medios de pago, te recomendamos con medios en efectivo.'),('14','Rechazado',0,'rejected','cc_rejected_insufficient_amount','Tu payment_method_id no tiene fondos suficientes.','Lo sentimos, ocurrió un inconveniente. Tu medio de pago no tiene fondos suficientes.'),('15','Rechazado',0,'rejected','cc_rejected_invalid_installments','payment_method_id no procesa pagos en installments cuotas.','Para el medio de pago ingresado, no se puede procesar los pagos en la cantidad de cuotas seleccionadas.'),('16','Rechazado',0,'rejected','cc_rejected_max_attempts','Llegaste al límite de intentos permitidos. Elige otra tarjeta u otro medio de pago.','Llegaste al límite de intentos permitidos. Elige otra tarjeta u otro medio de pago.'),('17','Rechazado',0,'rejected','cc_rejected_other_reason','payment_method_id no procesó el pago.','Lo sentimos, ocurrió un inconveniente. El pago no pudo ser procesado por el medio usado');
COMMIT;

-- Dumped table `transaction_states` with 18 row(s)
--

--
-- Table structure for table `transfer_account_payments`
--

CREATE TABLE `transfer_account_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `origin_id` int(10) unsigned DEFAULT 0 COMMENT 'id Cuenta de origen',
  `origin_type` text DEFAULT NULL COMMENT 'Modelo de origen',
  `destiny_id` int(10) unsigned DEFAULT 0 COMMENT 'id Cuenta de destino',
  `destiny_type` text DEFAULT NULL COMMENT 'Modelo de destino',
  `amount` decimal(9,2) DEFAULT 0.00 COMMENT 'Monto a transferir',
  `date_of_movement` datetime DEFAULT NULL COMMENT 'Fecha de movimiento',
  `user_id` int(10) unsigned DEFAULT 0 COMMENT 'Usuario que realiza el movimiento',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transfer_account_payments`
--

SET autocommit=0;
COMMIT;

-- Dumped table `transfer_account_payments` with 0 row(s)
--

--
-- Table structure for table `transports`
--

CREATE TABLE `transports` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `plate_number` varchar(50) NOT NULL,
  `model` varchar(255) NOT NULL,
  `brand` varchar(255) NOT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transports`
--

SET autocommit=0;
COMMIT;

-- Dumped table `transports` with 0 row(s)
--

--
-- Table structure for table `users`
--

SET autocommit=0;
COMMIT;

-- Dumped table `users` with 2 row(s)
--

--
-- Table structure for table `user_commissions`
--

CREATE TABLE `user_commissions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `amount` decimal(8,2) NOT NULL,
  `type` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `user_commissions_user_id_foreign` (`user_id`),
  CONSTRAINT `user_commissions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_commissions`
--

SET autocommit=0;
COMMIT;

-- Dumped table `user_commissions` with 0 row(s)
--

--
-- Table structure for table `user_default_document_types`
--

CREATE TABLE `user_default_document_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `document_type_id` varchar(255) NOT NULL,
  `series_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `user_default_document_types_user_id_foreign` (`user_id`),
  KEY `user_default_document_types_document_type_id_foreign` (`document_type_id`),
  KEY `user_default_document_types_series_id_foreign` (`series_id`),
  CONSTRAINT `user_default_document_types_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `user_default_document_types_series_id_foreign` FOREIGN KEY (`series_id`) REFERENCES `series` (`id`),
  CONSTRAINT `user_default_document_types_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_default_document_types`
--

SET autocommit=0;
COMMIT;

-- Dumped table `user_default_document_types` with 0 row(s)
--

--
-- Table structure for table `user_mobile_establishments`
--

CREATE TABLE `user_mobile_establishments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ume_user_establishment_unique` (`user_id`,`establishment_id`),
  KEY `user_mobile_establishments_establishment_id_foreign` (`establishment_id`),
  CONSTRAINT `user_mobile_establishments_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_mobile_establishments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_mobile_establishments`
--

SET autocommit=0;
COMMIT;

-- Dumped table `user_mobile_establishments` with 0 row(s)
--

--
-- Table structure for table `user_rel_suscription_plans`
--

CREATE TABLE `user_rel_suscription_plans` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con usuario',
  `suscription_plan_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con planes de suscripcion',
  `cat_period_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con el periodo de tiempo',
  `items` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT 'Pega los items relacionados a modo de standar',
  `editable` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'Si ya ha sido adquirido, no puede ser modificado',
  `deletable` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'Si ya ha sido adquirido, no puede ser borrado',
  `start_date` date DEFAULT NULL COMMENT 'Fecha de inicio',
  `sale_notes` text DEFAULT NULL,
  `documents` text DEFAULT NULL,
  `dates_of_documents` text DEFAULT NULL,
  `automatic_date_of_issue` date DEFAULT NULL,
  `customer_id` int(10) unsigned DEFAULT 0,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `parent_customer_id` int(10) unsigned DEFAULT 0,
  `parent_customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
  `children_customer_id` int(10) unsigned DEFAULT 0,
  `children_customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `quantity_period` int(10) unsigned DEFAULT 0,
  `apply_concurrency` int(10) unsigned NOT NULL DEFAULT 0,
  `enabled_concurrency` int(10) unsigned NOT NULL DEFAULT 1 COMMENT 'Se pasará a nota de ventas como activo',
  `currency_type_id` varchar(255) DEFAULT NULL,
  `payment_method_type_id` varchar(255) DEFAULT NULL,
  `exchange_rate_sale` double(13,3) DEFAULT 0.000,
  `total_prepayment` double(12,2) DEFAULT 0.00,
  `total_charge` double(12,2) DEFAULT 0.00,
  `total_discount` double(12,2) DEFAULT 0.00,
  `total_exportation` double(12,2) DEFAULT 0.00,
  `total_free` double(12,2) DEFAULT 0.00,
  `total_taxed` double(12,2) DEFAULT 0.00,
  `total_unaffected` double(12,2) DEFAULT 0.00,
  `total_exonerated` double(12,2) DEFAULT 0.00,
  `total_igv` double(12,2) DEFAULT 0.00,
  `total_igv_free` double(12,2) DEFAULT 0.00,
  `total_base_isc` double(12,2) DEFAULT 0.00,
  `total_isc` double(12,2) DEFAULT 0.00,
  `total_base_other_taxes` double(12,2) DEFAULT 0.00,
  `total_other_taxes` double(12,2) DEFAULT 0.00,
  `total_taxes` double(12,2) DEFAULT 0.00,
  `total_value` double(12,2) DEFAULT 0.00,
  `total` decimal(12,2) DEFAULT 0.00,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `related` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `perception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `detraction` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `terms_condition` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `grade` text DEFAULT NULL COMMENT 'Grado designado - utilizado en matricula',
  `section` text DEFAULT NULL COMMENT 'Seccion designado - utilizado en matricula',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_rel_suscription_plans`
--

SET autocommit=0;
COMMIT;

-- Dumped table `user_rel_suscription_plans` with 0 row(s)
--

--
-- Table structure for table `vet_appointments`
--

CREATE TABLE `vet_appointments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `establishment_id` int(10) unsigned DEFAULT NULL,
  `scheduled_at` datetime NOT NULL,
  `duration_minutes` smallint(5) unsigned NOT NULL DEFAULT 30,
  `title` varchar(255) DEFAULT NULL,
  `reason` varchar(255) DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'scheduled',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_appointments_veterinarian_id_scheduled_at_index` (`veterinarian_id`,`scheduled_at`),
  KEY `vet_appointments_pet_id_index` (`pet_id`),
  KEY `vet_appointments_owner_id_index` (`owner_id`),
  KEY `vet_appointments_veterinarian_id_index` (`veterinarian_id`),
  KEY `vet_appointments_scheduled_at_index` (`scheduled_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_appointments`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_appointments` with 0 row(s)
--

--
-- Table structure for table `vet_boardings`
--

CREATE TABLE `vet_boardings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `establishment_id` int(10) unsigned DEFAULT NULL,
  `check_in` date NOT NULL,
  `check_out` date DEFAULT NULL,
  `kennel` varchar(255) DEFAULT NULL,
  `daily_rate` decimal(10,2) NOT NULL DEFAULT 0.00,
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `notes` text DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_boardings_status_check_in_index` (`status`,`check_in`),
  KEY `vet_boardings_pet_id_index` (`pet_id`),
  KEY `vet_boardings_owner_id_index` (`owner_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_boardings`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_boardings` with 0 row(s)
--

--
-- Table structure for table `vet_breeds`
--

CREATE TABLE `vet_breeds` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `species_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_breeds_species_id_index` (`species_id`),
  KEY `vet_breeds_active_index` (`active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_breeds`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_breeds` with 0 row(s)
--

--
-- Table structure for table `vet_consultations`
--

CREATE TABLE `vet_consultations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `establishment_id` int(10) unsigned DEFAULT NULL,
  `consultation_date` date NOT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'consulta',
  `reason` varchar(255) DEFAULT NULL,
  `weight` decimal(8,2) DEFAULT NULL,
  `temperature` decimal(5,2) DEFAULT NULL,
  `heart_rate` varchar(20) DEFAULT NULL,
  `resp_rate` varchar(20) DEFAULT NULL,
  `general_state` varchar(191) DEFAULT NULL,
  `diarrhea` tinyint(1) DEFAULT NULL,
  `diarrhea_note` varchar(191) DEFAULT NULL,
  `vaccination_status` varchar(20) DEFAULT NULL,
  `deworming_status` varchar(20) DEFAULT NULL,
  `anamnesis` text DEFAULT NULL,
  `diagnosis_text` text DEFAULT NULL,
  `prescription_cie10_id` int(10) unsigned DEFAULT NULL,
  `treatment` text DEFAULT NULL,
  `observations` text DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_consultations_pet_id_consultation_date_index` (`pet_id`,`consultation_date`),
  KEY `vet_consultations_pet_id_index` (`pet_id`),
  KEY `vet_consultations_veterinarian_id_index` (`veterinarian_id`),
  KEY `vet_consultations_prescription_cie10_id_index` (`prescription_cie10_id`),
  KEY `vet_consultations_appointment_id_index` (`appointment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_consultations`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_consultations` with 0 row(s)
--

--
-- Table structure for table `vet_consultation_attachments`
--

CREATE TABLE `vet_consultation_attachments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `consultation_id` int(10) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `path` varchar(255) NOT NULL,
  `mime` varchar(100) DEFAULT NULL,
  `kind` varchar(20) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_consultation_attachments_consultation_id_index` (`consultation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_consultation_attachments`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_consultation_attachments` with 0 row(s)
--

--
-- Table structure for table `vet_consultation_procedures`
--

CREATE TABLE `vet_consultation_procedures` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `consultation_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `quantity` decimal(12,2) NOT NULL DEFAULT 1.00,
  `unit_price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_consultation_procedures_consultation_id_index` (`consultation_id`),
  KEY `vet_consultation_procedures_item_id_index` (`item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_consultation_procedures`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_consultation_procedures` with 0 row(s)
--

--
-- Table structure for table `vet_memberships`
--

CREATE TABLE `vet_memberships` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `owner_id` int(10) unsigned NOT NULL,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `plan_name` varchar(255) NOT NULL,
  `price` decimal(10,2) NOT NULL DEFAULT 0.00,
  `period` varchar(255) NOT NULL DEFAULT 'monthly',
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `benefits` text DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_memberships_status_end_date_index` (`status`,`end_date`),
  KEY `vet_memberships_owner_id_index` (`owner_id`),
  KEY `vet_memberships_pet_id_index` (`pet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_memberships`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_memberships` with 0 row(s)
--

--
-- Table structure for table `vet_notification_log`
--

CREATE TABLE `vet_notification_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `channel` varchar(20) NOT NULL,
  `destination` varchar(191) NOT NULL,
  `subject` varchar(191) DEFAULT NULL,
  `body` text NOT NULL,
  `ref_type` varchar(40) DEFAULT NULL,
  `ref_id` int(10) unsigned DEFAULT NULL,
  `status` varchar(20) NOT NULL,
  `error` text DEFAULT NULL,
  `sent_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_notification_log_ref_type_ref_id_index` (`ref_type`,`ref_id`),
  KEY `vet_notification_log_status_index` (`status`),
  KEY `vet_notification_log_pet_id_index` (`pet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_notification_log`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_notification_log` with 0 row(s)
--

--
-- Table structure for table `vet_pets`
--

CREATE TABLE `vet_pets` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `owner_id` int(10) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `species` varchar(60) DEFAULT NULL,
  `species_id` int(10) unsigned DEFAULT NULL,
  `breed` varchar(120) DEFAULT NULL,
  `breed_id` int(10) unsigned DEFAULT NULL,
  `sex` varchar(20) DEFAULT NULL,
  `birthdate` date DEFAULT NULL,
  `weight` decimal(8,2) DEFAULT NULL,
  `color` varchar(60) DEFAULT NULL,
  `microchip` varchar(60) DEFAULT NULL,
  `sterilized` tinyint(1) DEFAULT NULL,
  `photo` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `allergies` text DEFAULT NULL,
  `chronic_conditions` text DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_pets_owner_id_active_index` (`owner_id`,`active`),
  KEY `vet_pets_owner_id_index` (`owner_id`),
  KEY `vet_pets_species_id_index` (`species_id`),
  KEY `vet_pets_breed_id_index` (`breed_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_pets`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_pets` with 0 row(s)
--

--
-- Table structure for table `vet_prescriptions`
--

CREATE TABLE `vet_prescriptions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `consultation_id` int(10) unsigned DEFAULT NULL,
  `prescription_date` date NOT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_prescriptions_pet_id_prescription_date_index` (`pet_id`,`prescription_date`),
  KEY `vet_prescriptions_pet_id_index` (`pet_id`),
  KEY `vet_prescriptions_owner_id_index` (`owner_id`),
  KEY `vet_prescriptions_veterinarian_id_index` (`veterinarian_id`),
  KEY `vet_prescriptions_consultation_id_index` (`consultation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_prescriptions`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_prescriptions` with 0 row(s)
--

--
-- Table structure for table `vet_prescription_items`
--

CREATE TABLE `vet_prescription_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `prescription_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `dosage` varchar(255) DEFAULT NULL,
  `route` varchar(255) DEFAULT NULL,
  `frequency` varchar(255) DEFAULT NULL,
  `duration` varchar(255) DEFAULT NULL,
  `instructions` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_prescription_items_prescription_id_index` (`prescription_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_prescription_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_prescription_items` with 0 row(s)
--

--
-- Table structure for table `vet_quotes`
--

CREATE TABLE `vet_quotes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `quote_date` date NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'draft',
  `notes` text DEFAULT NULL,
  `total` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_quotes_pet_id_quote_date_index` (`pet_id`,`quote_date`),
  KEY `vet_quotes_pet_id_index` (`pet_id`),
  KEY `vet_quotes_owner_id_index` (`owner_id`),
  KEY `vet_quotes_veterinarian_id_index` (`veterinarian_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_quotes`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_quotes` with 0 row(s)
--

--
-- Table structure for table `vet_quote_items`
--

CREATE TABLE `vet_quote_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `quote_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `quantity` decimal(12,2) NOT NULL DEFAULT 1.00,
  `unit_price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `subtotal` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_quote_items_quote_id_index` (`quote_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_quote_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_quote_items` with 0 row(s)
--

--
-- Table structure for table `vet_species`
--

CREATE TABLE `vet_species` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_species_active_index` (`active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_species`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_species` with 0 row(s)
--

--
-- Table structure for table `vet_vaccination_records`
--

CREATE TABLE `vet_vaccination_records` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'vaccine',
  `item_id` int(10) unsigned DEFAULT NULL,
  `vaccine_name` varchar(255) NOT NULL,
  `applied_date` date DEFAULT NULL,
  `lot_code` varchar(60) DEFAULT NULL,
  `next_dose_date` date DEFAULT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `observations` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_vaccination_records_pet_id_applied_date_index` (`pet_id`,`applied_date`),
  KEY `vet_vaccination_records_pet_id_index` (`pet_id`),
  KEY `vet_vaccination_records_item_id_index` (`item_id`),
  KEY `vet_vaccination_records_next_dose_date_index` (`next_dose_date`),
  KEY `vet_vaccination_records_veterinarian_id_index` (`veterinarian_id`),
  KEY `vet_vaccination_records_type_index` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_vaccination_records`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_vaccination_records` with 0 row(s)
--

--
-- Table structure for table `vet_vaccine_protocols`
--

CREATE TABLE `vet_vaccine_protocols` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `species_id` int(10) unsigned NOT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'vaccine',
  `dose_name` varchar(191) NOT NULL,
  `offset_value` int(11) NOT NULL,
  `offset_unit` varchar(10) NOT NULL DEFAULT 'weeks',
  `offset_from` varchar(10) NOT NULL DEFAULT 'birth',
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_vaccine_protocols_species_id_sort_order_index` (`species_id`,`sort_order`),
  KEY `vet_vaccine_protocols_species_id_index` (`species_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_vaccine_protocols`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_vaccine_protocols` with 0 row(s)
--

--
-- Table structure for table `vet_veterinarians`
--

CREATE TABLE `vet_veterinarians` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `cmp` varchar(255) DEFAULT NULL,
  `specialty` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `work_days` varchar(20) DEFAULT NULL,
  `work_start` time DEFAULT NULL,
  `work_end` time DEFAULT NULL,
  `slot_minutes` int(10) unsigned DEFAULT 30,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_veterinarians_active_index` (`active`),
  KEY `vet_veterinarians_user_id_index` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_veterinarians`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_veterinarians` with 0 row(s)
--

--
-- Table structure for table `vital_signs_parameters`
--

CREATE TABLE `vital_signs_parameters` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `specialty_id` int(10) unsigned NOT NULL,
  `paramter_name` varchar(255) NOT NULL,
  `unit` varchar(255) DEFAULT NULL,
  `type` varchar(255) DEFAULT NULL,
  `is_optional` tinyint(1) DEFAULT NULL,
  `order` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vsp_specialty_id` (`specialty_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vital_signs_parameters`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vital_signs_parameters` with 0 row(s)
--

--
-- Table structure for table `vital_signs_values`
--

CREATE TABLE `vital_signs_values` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `appointment_id` int(10) unsigned NOT NULL,
  `vital_sign_id` int(10) unsigned NOT NULL,
  `value` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vsv_appointment_id` (`appointment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vital_signs_values`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vital_signs_values` with 0 row(s)
--

--
-- Table structure for table `voided`
--

CREATE TABLE `voided` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `external_id` char(36) NOT NULL,
  `soap_type_id` char(2) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `ubl_version` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `date_of_reference` date NOT NULL,
  `identifier` varchar(255) NOT NULL,
  `filename` varchar(255) NOT NULL,
  `ticket` varchar(255) DEFAULT NULL,
  `has_ticket` tinyint(1) NOT NULL DEFAULT 0,
  `has_cdr` tinyint(1) NOT NULL DEFAULT 0,
  `soap_shipping_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `send_to_pse` tinyint(1) NOT NULL DEFAULT 0,
  `response_signature_pse` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `response_send_cdr_pse` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `voided_user_id_foreign` (`user_id`),
  KEY `voided_soap_type_id_foreign` (`soap_type_id`),
  KEY `voided_state_type_id_foreign` (`state_type_id`),
  CONSTRAINT `voided_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `voided_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `voided_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `voided`
--

SET autocommit=0;
COMMIT;

-- Dumped table `voided` with 0 row(s)
--

--
-- Table structure for table `voided_documents`
--

CREATE TABLE `voided_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `voided_id` int(10) unsigned NOT NULL,
  `document_id` int(10) unsigned NOT NULL,
  `description` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `voided_documents_voided_id_foreign` (`voided_id`),
  KEY `voided_documents_document_id_foreign` (`document_id`),
  CONSTRAINT `voided_documents_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`),
  CONSTRAINT `voided_documents_voided_id_foreign` FOREIGN KEY (`voided_id`) REFERENCES `voided` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `voided_documents`
--

SET autocommit=0;
COMMIT;

-- Dumped table `voided_documents` with 0 row(s)
--

--
-- Table structure for table `waiters`
--

CREATE TABLE `waiters` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `last_name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `waiters`
--

SET autocommit=0;
COMMIT;

-- Dumped table `waiters` with 0 row(s)
--

--
-- Table structure for table `warehouses`
--

CREATE TABLE `warehouses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `establishment_id` int(10) unsigned NOT NULL,
  `description` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `warehouses_establishment_id_foreign` (`establishment_id`),
  CONSTRAINT `warehouses_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `warehouses`
--

SET autocommit=0;
INSERT INTO `warehouses` VALUES (1,1,'Almacén Oficina Principal','2025-12-27 23:47:17','2025-12-27 23:47:17');
COMMIT;

-- Dumped table `warehouses` with 1 row(s)
--

--
-- Table structure for table `web_platforms`
--

CREATE TABLE `web_platforms` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `web_platforms`
--

SET autocommit=0;
INSERT INTO `web_platforms` VALUES (1,'Saga Falabella',NULL,NULL),(2,'Mercado Libre ',NULL,NULL),(3,'Linio',NULL,NULL);
COMMIT;

-- Dumped table `web_platforms` with 3 row(s)
--

--
-- Table structure for table `workers`
--

CREATE TABLE `workers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `identity_document_type_id` varchar(255) NOT NULL,
  `number` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `birth_date` date NOT NULL,
  `admission_date` date NOT NULL,
  `occupation` varchar(255) NOT NULL,
  `address` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `telephone` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `workers_identity_document_type_id_foreign` (`identity_document_type_id`),
  KEY `workers_number_index` (`number`),
  KEY `workers_name_index` (`name`),
  CONSTRAINT `workers_identity_document_type_id_foreign` FOREIGN KEY (`identity_document_type_id`) REFERENCES `cat_identity_document_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `workers`
--

SET autocommit=0;
COMMIT;

-- Dumped table `workers` with 0 row(s)
--

--
-- Table structure for table `zones`
--

CREATE TABLE `zones` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `zones`
--

SET autocommit=0;
COMMIT;

-- Dumped table `zones` with 0 row(s)
--


