-- Host: db-master-9.internal    Database: main_app


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

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$V4lAz6Rdts8boFyyqAPEPMVxg8e77UNSTszzb7B7LOaq647Ty5oF9','user','ak_a5477751e6377a9b','2023-12-17 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'admin@example.org','$2b$12$2VmQDPltMEx.r8VmCl5P/NhhsXqY3awUM7A34oNhGJTghCXoaJ/p1','user','ak_f61221fc7220b8c9','2023-04-11 10:17:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@example.org','$2b$12$QOB6FCdT71q5KedAgjZBS1hM2iqEbbZ0ROJFEZbKqhbqXUAH9imfm','user','ak_1cf7567bcd3c8dc1','2023-05-20 10:16:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@corp.net','$2b$12$BhePD7ebPWww5PBXP1AM/Oj1FQVEBw.Ti5xDS.pkRjrG35F/rL0Lh','admin','ak_00427bd30e9d6b12','2023-09-16 10:19:00',NULL);
INSERT INTO `users` VALUES (5,'admin@corp.net','$2b$12$tCHJBAT8OkaDze4PgrXXJA5xMP/CG5sPP4jsah4KNXRlkv2oORxpe','user','ak_81ffe4259df7c810','2023-07-10 10:19:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@example.org','$2b$12$tStlsmFMdbnol5TfpYAK0JGAhdNOwCzi5sudeQ/TPNCqKhZpaWXUL','user','ak_4ef7844b333fbe54','2023-07-19 10:19: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=45101;

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


