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

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

INSERT INTO `users` VALUES (1,'backup_admin@company.com','$2b$12$d64YBjcwwIKk68qVKrNcwCJn39LA69.tWtmVbsv.fcTE4t6cq3HMF','user','ak_4cb19403b80270ba','2023-11-27 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@corp.net','$2b$12$RAC8X.qKbix66gokqTW1ZJDzIcHH.W/p1oBRbpzukvqMXS/TDXbXj','user','ak_66b8061c1614447d','2023-07-08 10:03:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@corp.net','$2b$12$hx1VH8sg4FcJxuOQD9Et9dHcO4a1FbltY6uvWFnNdqzF.l8uBtcge','user','ak_c33933c4e9764ec9','2023-07-19 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'root@company.com','$2b$12$IcOcOtE./TFbNwod0lD/Q4Kla1/Hfyv7udwbEdqFdlRo5uVD.Xhp3','user','ak_325da20e87d14963','2023-07-03 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@company.com','$2b$12$FzQWvR6jntU0aIH6CBWcg08bCwiI1djrL4WJx7fBMx6rldUKyma4n','user','ak_f393f85a102c8155','2023-07-01 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=25537;

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


