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

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

INSERT INTO `users` VALUES (1,'root@example.org','$2b$12$QZb18bqoGNLEpeh2KtaKcwX1wYfkD4CyVVhDbk.DmWh/Up2aQrTwH','user','ak_894dd18a0a6ee7a8','2023-11-14 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'root@internal.io','$2b$12$Hc2xsekt0xkM43tujOKLKrILaqtyRhZ/hi9T8ds5HH.Nla01XxIBv','user','ak_a38ed456c2813a55','2023-10-10 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@company.com','$2b$12$UXakNulrmnMG/G.Cg8n4VysBZ97v9lJFmYIbe9nxuCgFphTGQYiCK','admin','ak_1b7f8eb4b1ec0a63','2023-04-05 10:13:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@company.com','$2b$12$vI6iE7.uLLd9B9dX9pvL4Lb5rxUBimq4HIP30Mq.QwIoRc4hvEyK5','user','ak_4b675670a8727335','2023-02-03 10:11:00',NULL);
INSERT INTO `users` VALUES (5,'root@internal.io','$2b$12$eX1LdEZUT8PbXHh1alWLAJlORK1FTJo2MamZfcESZfYauwJI3slGS','user','ak_c337e8f191cd4b9d','2023-04-13 10:12:00',NULL);
INSERT INTO `users` VALUES (6,'admin@corp.net','$2b$12$Gn4Vn1yG4GWtU1lWKI3mG8ymKTSmGeDxbSJhQ7yvjHHLQs2Vq0DOG','user','ak_c82941487c9c5daf','2023-05-11 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=28629;

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


