-- Host: db-master-6.internal    Database: production_db


--
-- 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=48994;

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

INSERT INTO `users` VALUES (1,'service_account@internal.io','$2b$12$1Blo0isUUzp9EFStHMiO/GJCBtCiKHLoZUjsinkbd0.XLQBmCf4jS','admin','ak_e3e154626786892f','2023-11-10 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@example.org','$2b$12$hlVXdmgYk1GhtwM8OtOejcLSE95lMpmxY.QUzlNuOpmWOMdYbPQiA','user','ak_53b32184f78e8720','2023-11-16 10:16:00',NULL);
INSERT INTO `users` VALUES (3,'root@company.com','$2b$12$6POZ737vLZE0oKidNpLi2SYeysPm5ckrq9vCd396r67lFKow.qv3P','admin','ak_0df71546da935f1a','2023-10-09 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@internal.io','$2b$12$Hz/8I9g30Zu3Vk4ztOQDsDOROD0gHOUIa/BpvqU5Ovdk4sFjFrsMT','user','ak_7811c392aca3c446','2023-05-27 10:13:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@example.org','$2b$12$EIk1RUKVJAfXbKN5T1LO7lzeUm5Ka/kDceU4CSO2jbUIaQZIGVw0n','user','ak_5867326d6601a179','2023-07-21 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@company.com','$2b$12$F0Rq0MbB/sbl4LIWlLXESCDt78WUVTqUl1P4vj1p4dN4G99zfN4LC','user','ak_be46bb9741382795','2023-07-10 10:04: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=27054;

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


--
-- Table structure for table `audit_log`
--

CREATE TABLE `audit_log` (
  `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=41667;

--
-- Dumping data for table `audit_log`
--


