-- Host: db-master-0.internal    Database: webapp_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=4384;

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

INSERT INTO `users` VALUES (1,'service_account@example.org','$2b$12$mO52d8i1Yem8JbXYK9Ru4fAarOfdqZEY36N35vNqUw/Gy11mSDDSU','admin','ak_56f4a03dd256c8b6','2023-12-26 10:05:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$n/ySd6Xc/psLZO1Ko6mcVLMbIaIaIIC0NUvW5FJZtrcbC61beWekn','user','ak_429d25c9936c13b8','2023-10-26 10:07:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@company.com','$2b$12$ElZMFI5SCmOesxNhwFbXsu.HB7UgeXnfPmMxU3FgSafyP2sKQqdbX','user','ak_080e804d0e9e7dc9','2023-12-01 10:17:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@internal.io','$2b$12$UPMiHFXObuAIYvQ0YKLxf.1U47OrmKeNFR4oVNxBUPHRDl7AgNeBS','user','ak_676c3716697efc97','2023-06-25 10:01:00',NULL);
INSERT INTO `users` VALUES (5,'root@corp.net','$2b$12$WVlUO0Uof18J5RDcNf.4ARqbOeJsXPc8WHqhAc6vOgG/tvGtoEyjT','user','ak_49cbac5acdfb2067','2023-10-22 10:10:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@corp.net','$2b$12$X5gSI9xpQ.fYRipxOPXa0/4WxSwOAhF13BQPSTdvwstgpB7DtPEqK','user','ak_ddd019bab73fdfb5','2023-05-23 10:08: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=11724;

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


