-- Host: db-master-8.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=5198;

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$vAVemtGx48KAqjl52U7.UrRKhnLMhv9QCgP.KQjjcov9CJ.us2e4Q','admin','ak_c9c3c9cc5a13e78c','2023-03-24 10:04:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@company.com','$2b$12$bXaQPueTjgTK2zbTgkGrnZ.CVS0ZPLmtO/6sARCDKwbTcsx//CDtl','admin','ak_8c433469a841be22','2023-10-23 10:04:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@example.org','$2b$12$AhsXMho7wE1HjhL8BS5iT4ZbMN3IcCNGLr28tN./fQL9curOUGfP7','user','ak_b0634249ff124ef9','2023-06-21 10:03: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=11143;

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


