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


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

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


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

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$Zq7lq.SihhDT7iBWBzn/7kdAlzkMBE4qCJW9IOOcmA3mxczf1kLGA','user','ak_d7432a693393a045','2023-04-06 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@internal.io','$2b$12$KR3HCcYJ9izABICehDC5xHz5B4JRI5JSJF5ynBCL5iel.BO9ugu6C','user','ak_95fe23c54edf7cec','2023-02-15 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@internal.io','$2b$12$TBkHeoQXmhZj9SRBpg6GVHO0z1SEieOFB0UoZvGhVSxGl2M1cMuxq','user','ak_db061c940b7c90bc','2023-07-04 10:17:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@company.com','$2b$12$EwlF7De4UiuZwCaROC3Vf/NUOj9vVo1MSHNGFAY4bBl26162/eG1f','user','ak_e3f2fe5fc687a41d','2023-12-27 10:23:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@company.com','$2b$12$SQqnD2hlAhqoh8fHOkc8.VRKUqiFGETeiOgWCdSVkKILsBWlCfI25','user','ak_721d27a9ca3ed3ca','2023-07-07 10:03:00',NULL);

