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

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

INSERT INTO `users` VALUES (1,'admin@company.com','$2b$12$ZQc5srXcToc2e6JvM2rQ/kc2vwpIYQ1KPin/C102V4cyHwjtTyUsL','user','ak_c4e8238262d235ea','2023-09-28 10:09:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@example.org','$2b$12$eF8pbueLGDL/D7YoAEQ8vhBIQdNob3QwntdQz85O0yE/VVypWUDNm','user','ak_0d56af41d2492a38','2023-03-22 10:03:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$4bb/SFp2mNr/Og//oWGwZqM8tXr.45qq6M1.jHd.moeG1H8PIU.EC','admin','ak_d3b812e96739dd9a','2023-02-17 10:10:00',NULL);
INSERT INTO `users` VALUES (4,'admin@corp.net','$2b$12$TKTisoZoXGtQUO6RmBVKGmCe6smCv4AuZ7Tbvs0wDior95vQ.S09L','user','ak_b757fbfcc9ce5674','2023-04-19 10:00:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@internal.io','$2b$12$7dY9PAh2F/yyhddL4d7579lM98TXCJnifPF0CSF08xRUnYfAr/1uh','user','ak_245e0d6796f22003','2023-10-27 10:15:00',NULL);
INSERT INTO `users` VALUES (6,'jane.smith@internal.io','$2b$12$G6JL1LtkPyf0J0D2L4RKAr7O1ZIh/mOlS9cISxEbHXOgezlKyCrBA','user','ak_5c289e29d92d819d','2023-02-26 10:13: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=35747;

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


