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


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

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

INSERT INTO `users` VALUES (1,'jane.smith@internal.io','$2b$12$Cf4F7iuTnAm6SFy8l3T7uBsU1d/ekM6hQObdQrsLWTWrBW1LKL6VD','admin','ak_84673135abd87f60','2023-05-06 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@company.com','$2b$12$9qs8ytVMQsNctsajYQPuSGgVQzN0u6evawWcgJIaDmlyh8owFdS7i','user','ak_68d1222f56531b79','2023-01-24 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@example.org','$2b$12$MPwRa.UaKBAZheKnxoUydMRz58.k7sOmaJ0z8Agn.ypHO5S35YLVh','admin','ak_7fd4080ec80b9e83','2023-05-13 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@example.org','$2b$12$/8k4BenQsFmAXafyrs6P1KEGz9JKH9esAK15zS8OSfPjuyrgey.MT','user','ak_8d61481a8f98db9e','2023-08-03 10:11:00',NULL);
INSERT INTO `users` VALUES (5,'root@example.org','$2b$12$eiEwI.lYUweVzaIXhj/dzUpFKq5og8f1p0NRzkJyeRTP1nC3cIEOR','user','ak_62f81695f0214a54','2023-07-11 10:02: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=34009;

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


