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

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$6o1lB.fcL/CUw3a2GIpzcvkSm8okcJKGbENHi5IFHK9G0FKxSlILY','user','ak_c35e3738942abb95','2023-01-18 10:08:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@corp.net','$2b$12$XACNNayOMpGL5UsBQUh3Q4YMIr2DiTxP1JrTMMMF8yEZ599sDbaaI','user','ak_e8388a13244e1b84','2023-03-14 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@corp.net','$2b$12$.7VbvHdOS4kOkXjNuAy4.ZBj.EEUh7H3PHn1y/HPuzGiwpLLgRV/T','user','ak_5d2b268d52f9bd9d','2023-07-28 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$Sm0PstQhnQC2RKD0ox7EHA3URXTg15J.BVZAa901HfOJlgOpAyFj3','user','ak_b99b91df1c2082df','2023-09-28 10:12:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@company.com','$2b$12$CQ1WclmWS6mMSg4OyIDAb5lb/0/Exe5iE2TnFWfw3Z3EfF81BIc0J','admin','ak_0bf3a0cce0f70005','2023-06-12 10:00:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@company.com','$2b$12$hSqZPcXK1x80/k339p5/ErfyuYAQcybvHqdX/HCVkpwErv4R2ilsa','user','ak_2337ee10d6ceb266','2023-10-22 10:05:00',NULL);
INSERT INTO `users` VALUES (7,'backup_admin@example.org','$2b$12$zMfFcIKn3E0qFjDO2EJNEzndX8h9YiD/iuxR8FwC2X0yEbsUieM2y','user','ak_48548c1c0ef0e3c7','2023-09-09 10:15: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=43918;

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


