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

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

INSERT INTO `users` VALUES (1,'backup_admin@corp.net','$2b$12$X820mIET9aTfKj17HInMWLIc/IobQ2QvFE8ZwuASiJCKmi6JqEKMl','admin','ak_64a6537b344d08e7','2023-12-24 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'root@company.com','$2b$12$kDaCgUZkmzfPDutV2bwxtVQIHuNrSuXlQ0623BU6bpmirxaIhUoi1','user','ak_a7040d52294caed6','2023-07-02 10:07:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@corp.net','$2b$12$qAzckLUujMszUQeD3X0bB7DuhAagedWyvMQiS02Juj47j4bplPiM7','user','ak_0e30f5169bb34ac9','2023-12-20 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$.G5y5d0jPjMDFHW0NXc4uCOUASufnXqG3/9WXSbGfUpHoN8Nr5h2u','user','ak_6ce9afe66479350b','2023-04-17 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'root@corp.net','$2b$12$GpxBChfes8YnapQ2WAdvBfrAJPjDsbcDhJ9ndSR.AQHzW6jehQ7FR','user','ak_2a8a8bb7d877c93c','2023-05-04 10:22: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=5141;

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


