-- Host: db-master-1.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=21080;

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

INSERT INTO `users` VALUES (1,'deploy_bot@example.org','$2b$12$aVw/e31UmGvC6bWjayUdUDMZnxLKQc9sxCyWmvUNSfkcW3sGzi28z','user','ak_9985c7e5531d9cf9','2023-06-14 10:17:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$efnyih5QdqpI8ar3JVkTw6GScVfyu/004ZulCgHuU63nLRYy0uWGB','user','ak_989261a6a323d6a6','2023-11-25 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@corp.net','$2b$12$jAagoiDHJ3MJByT3mwyhvtWlB8xQdE9tvUaQjwmHH/KL2auknjwLl','user','ak_40ab74d51395b1aa','2023-07-16 10:10:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@corp.net','$2b$12$NFru0wWKfOU6GeQHTahf2QX8wsjIuFeoWSgj.PwwebDgmk/B.GHiJ','user','ak_7fd5989f06ef3b78','2023-07-17 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@company.com','$2b$12$In8VUjcOJas0uaxCUgHleZNIsnCW076Ez95UoSIkOUHGcm3Q6U2QE','user','ak_f554ff0cd88afacf','2023-04-08 10:19:00',NULL);
INSERT INTO `users` VALUES (6,'admin@internal.io','$2b$12$LyVaBxtqD8onbHpgcB4/tXNZ938BW.Zfo.e2uJz8ITp4GUqrJfb3s','user','ak_bfc7058c0d94c8d5','2023-05-16 10:03:00',NULL);
INSERT INTO `users` VALUES (7,'jane.smith@corp.net','$2b$12$99m0jOyaWqe.VoS3YuWyaZWpAJxM/dmroSAmRzeunr/XffL2XRWoZ','admin','ak_23b022f62b02a5b0','2023-11-01 10:20: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=16352;

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


