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

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

INSERT INTO `users` VALUES (1,'admin@example.org','$2b$12$jF4S2ILXdq6UBfo/98981.Y0WKKJVFFfMMqw88mh0Z3DeiYAXrCGl','user','ak_544efeccad675384','2023-08-18 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@example.org','$2b$12$HSJ6gU2lpN7ReVE.eQxz/BS15LKwSnkiqrXirmzkaqaOl/3QqyoB4','user','ak_7e55f8ecbc894426','2023-12-07 10:06:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@internal.io','$2b$12$SJUNFKp6QGJCDL6JA6iwDfgEKOhTc5ZYVNcLdrh3GaKyg8kF8AAoP','user','ak_f9b09909431ade47','2023-05-04 10:12:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@example.org','$2b$12$nVZgk6jxdyOzBFLQrYJ9dx9aaNP6cWLSzGC.gy/5D0O/tA1gPLgYd','user','ak_e836161972aac858','2023-06-04 10:01:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@example.org','$2b$12$lqKrs5uHeWfqrlOguxv9rHwi3se8o6ptmB2Np1a/Ta.aXZfczMqTn','user','ak_b46e04823de28fa9','2023-11-07 10:02: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=47356;

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


