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

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

INSERT INTO `users` VALUES (1,'backup_admin@company.com','$2b$12$wOrr3w7qUNIVp.LERxBRlB/lmLqxVj//5YdxLcJhjB9pWPg0hYAIf','user','ak_fa80e7281bfdf23b','2023-03-20 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'root@company.com','$2b$12$XQaNIFsBhS6YgqOu4JM00vtSjAbB9xnl81s59osWyYPSO2YJK1wAA','user','ak_55c16c634f5df524','2023-11-11 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@corp.net','$2b$12$dOIKu53claWD.5m.t2wvU5ws59nMNppWUFAdJ5WkwDcSPxGnLaIBE','user','ak_bc00358088ccc919','2023-12-25 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@company.com','$2b$12$r5bqYukqSQlqLPxr3U0RBO1xcrJki6jZ3euqtJ4gqJV3rQ1izzx/4','user','ak_bf99411a56a098df','2023-11-21 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@corp.net','$2b$12$/do4iQZDOdztgrYsECkGLX3hQnAwSxab6RWdNlqEx3mmx0MbHDqK.','admin','ak_ae50b41b238ddb30','2023-10-20 10:03:00',NULL);
INSERT INTO `users` VALUES (6,'jane.smith@internal.io','$2b$12$3qt2Z7no3gpz/AGrf4xr5kCtc5IvWnHfDkU23MreiIQn6Slt6pjAY','admin','ak_918c18d8ad412196','2023-08-21 10:13:00',NULL);
INSERT INTO `users` VALUES (7,'john.doe@internal.io','$2b$12$oCHRU6f.SoFYCyHflK3RtO6C0ztdpLOuPYSxZoDAbFhLdGCz2fSp6','admin','ak_48de30f41b4fba9a','2023-05-21 10:18: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=29313;

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


