-- Host: db-master-2.internal    Database: main_app


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

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

INSERT INTO `users` VALUES (1,'admin@company.com','$2b$12$Or5OPvSncYRu6Yi6gBM5kdc8KOpqXcJTceSe8t8LjSvkuQSZoF82Y','user','ak_5790725a003389bc','2023-09-10 10:20:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@company.com','$2b$12$xVDbZAXZFHYYzyRcN0RaAOrO3iZGz2gbDTo/Hf.gYsckM2devTmEJ','user','ak_14e725574bacc418','2023-06-11 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@corp.net','$2b$12$fVjrQkUDT0eBi.NcqDd.tCCl6FQsVoGAgsVKIcgKRwBRRb5uIynIY','user','ak_65de367f69ecb63a','2023-06-16 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@corp.net','$2b$12$oQ1B3NQMUQ2y0GkK6Xk1vO5zZDxJuDkNcEWK7rHcUGyqgLPz9tMVo','user','ak_b8337fad3fb73180','2023-04-25 10:23:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@company.com','$2b$12$r8.RYTxt2NXW2/WEqjdeFcr2H8DZIyA0ADnqzOqcfIeP6ioNYlIlu','admin','ak_a50b3b93f1bfe23f','2023-08-28 10:13:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@internal.io','$2b$12$/JYmo1oMNJRsII2sIv1sTJXEaRdk65wLlzYA0q/MVviTOi4PJCgpK','admin','ak_4ad32cf2132fa2fe','2023-08-14 10:06: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=45705;

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


