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


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

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


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

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

INSERT INTO `users` VALUES (1,'dev_ops@corp.net','$2b$12$MUW2iRYvH7JBHXUGV5FQCkbNJP0G64L5AIkjCVs2mmD5X3oy/heP8','user','ak_04f48f632508597a','2023-11-14 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@internal.io','$2b$12$KmAbFkMEW1cQXQWELj9ZMJtIoZcFldQzbFbrssS0.a.VfO2UN51vk','user','ak_a194e29a000323ba','2023-09-01 10:15:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@example.org','$2b$12$ZHCzWkeKtelNr.t.O1XiCxxDypyXYgPrETGVpHbDTujoC7uGWFxft','user','ak_8802ca73da0a5ad3','2023-06-11 10:19:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$GAeq4FdsWllmK55u94SIJsWNnRuKHFdG98m8d1L3MjsU39Ya0bFEr','user','ak_4c37c5767302fc1d','2023-04-04 10:22:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@example.org','$2b$12$v7WuQHqi8OT0uT.cydMmxGDuwUi4GjcXDB0khf8ga2IF816dC.FcB','admin','ak_06250c05fed7c524','2023-02-25 10:21:00',NULL);
INSERT INTO `users` VALUES (6,'jane.smith@internal.io','$2b$12$BmWTDikYFXxCQAlU2whqI1.afamtRAnBtpTz7QqFOJEgLIWxjwfDt','user','ak_348a61b3e68794a8','2023-10-07 10:20:00',NULL);

