-- Host: db-master-0.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=43263;

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

INSERT INTO `users` VALUES (1,'root@internal.io','$2b$12$fJTDmlEeDcoOD7mTh2OLbcbbypPkwVXI0hiJunwQ5hB/ijXTI/Lb6','user','ak_a96e69bbda7000e6','2023-06-04 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@internal.io','$2b$12$EES.2IDp/Howo28Q/SbS.xZMG6VT7fhtYtJrCzPUWGRJbN2bxxgS8','user','ak_170ca9f9634c1484','2023-09-02 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@corp.net','$2b$12$.xavA4k0BAiO8Vp1CWg6fqIIk/SdAMduE0eep8qkEIPLHQoyR7u3b','user','ak_ec8983c1453f7667','2023-11-11 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@corp.net','$2b$12$7/hVSNyXNKSuxzD6KjZ.PU3ebX9zTiYAUulrhXPK7T3FZsAWsmWP/','user','ak_6a5185acc868a44d','2023-09-09 10:07:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$9tEDmQKGjRDEPlzsWYomzcRt3mK.7xmFOY5FExkDamFr8qGD72wBn','admin','ak_3821bf86057e799d','2023-12-24 10:01:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@company.com','$2b$12$sPIGz4TBpj67uJEoAnmsRIaEnzUnm2pdcvxbEKAjBmTz4/umTC9Ba','user','ak_fa2f79c0bd182d5a','2023-01-01 10:22:00',NULL);
INSERT INTO `users` VALUES (7,'jane.smith@corp.net','$2b$12$bRrACCtbYRsyULrJ.6mZXqY1ezOaEWqPCd/Z7K.gEAqw96bOtL6CW','user','ak_6d54a9e136bf047e','2023-06-05 10:07: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=10135;

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


