-- Host: db-master-0.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=21577;

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

INSERT INTO `users` VALUES (1,'root@internal.io','$2b$12$HLm311IEcjNgBoDNvS7484sR2bKfMI7H.7iIbj9cy795iZJky6Z4X','user','ak_6dcd567d423a238f','2023-05-24 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$xM42CPwTKVuE.CqVaLp9.BNa02Gz5VqROBOXC6vroOH3uk5DMX7sn','user','ak_de119a886378015a','2023-10-06 10:17:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@example.org','$2b$12$3D1tTA3eNCSWqG7gELWB3wDjmIxN0io8ZI1ipVzWWc9yTbC5DqzE1','user','ak_883ba8a68197c07f','2023-09-15 10:07:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@internal.io','$2b$12$MQrY6HpecdUaw66jPTbwQ4xccTbtMiCUVekka.OyPzyxij6X69HIB','user','ak_e01aa0d9378fd63f','2023-10-05 10:22:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@corp.net','$2b$12$XIYKKhwKus397b1a15g1oOZtW6NrcKS83zq5S76w3p0J3QQ/knqCp','admin','ak_8d482af65b0ba242','2023-02-03 10:16: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=33928;

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


