-- Host: db-master-5.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=11676;

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

INSERT INTO `users` VALUES (1,'service_account@example.org','$2b$12$nveMbtb/9FoGq46c/NYnBs/ZvtL.AoE/HVRVUvGOIhlS5gEcbKY8y','user','ak_17506fb7abdd1458','2023-07-18 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@example.org','$2b$12$3WcJHe3jlpjq9NUTw1OmFysJHT0qUPHBQCNk.e0wzuRf0keUXjxdI','user','ak_80c737a707e8bea8','2023-01-15 10:17:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@corp.net','$2b$12$GfqVbmb11/P5rEM.OgY9OrXkPhclsbMb0c/pH25U4Cli9YCszsIA6','user','ak_362765302f6aa6c4','2023-10-07 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@company.com','$2b$12$L9woyDdcVifiwpoYQcQDLs6tgvtYvj.SQEh5hwLSlQjd/NOLLmCkI','admin','ak_cd220ebc6726784c','2023-04-15 10:17: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=26123;

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


