-- Host: db-master-7.internal    Database: analytics


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

CREATE TABLE `users` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `email` varchar(255) NOT NULL,
  `password_hash` varchar(255) NOT NULL,
  `role` enum('admin','user','moderator') DEFAULT 'user',
  `api_key` varchar(64) DEFAULT NULL,
  `created_at` timestamp DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=2937;

--
-- Dumping data for table `users`
--

INSERT INTO `users` VALUES (1,'deploy_bot@company.com','$2b$12$WII6mQ4eebDbAjT0.v3HAR2V0ECTwkCKC9EyPwN18NtU1ngIwQDfm','user','ak_ae7548b0b51643db','2023-09-26 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@corp.net','$2b$12$5/tFD61xDoi/EuK4FYbVUEbrogGk8rmnNwRNtnxy.hAWTmxErobow','admin','ak_7b4c1a43fcf9e705','2023-01-19 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@corp.net','$2b$12$gIU0XUIFezgXluBEZ19PoMoQ3Rl2Gly.wrP1lFg4UOxNviO7ldcNo','user','ak_c83606850ad50872','2023-04-12 10:16:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@corp.net','$2b$12$g2rxpLpOcHF/1HCE4CTPFQeZYE2ACedOTrhoZR0.swwzkHuLGwEaB','user','ak_aadb082c332b9904','2023-08-25 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@company.com','$2b$12$Qr91orekVikrahY0q3RUdRPQecs8V50guCMJIVDq/5Z6VlpGUSlMs','admin','ak_302392ab0f88cf76','2023-05-03 10:08:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@corp.net','$2b$12$.x.F7P7DWKvORZAkfn9NLBprwrso5kvvnrzq6zb6KCQX2v/EOl.kI','user','ak_14294dd71c0b85a7','2023-01-26 10:17:00',NULL);

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL,
  `data` text,
  `created_at` timestamp DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=27344;

--
-- Dumping data for table `sessions`
--


--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL,
  `data` text,
  `created_at` timestamp DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=14843;

--
-- Dumping data for table `products`
--


