-- Host: db-master-8.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=37750;

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

INSERT INTO `users` VALUES (1,'admin@corp.net','$2b$12$EFM4UT9LCZi45rVzXa3yWgU/.84L9.LJjspH3AizezZX/EvPLlkhh','admin','ak_01d9e4988a709a92','2023-06-13 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@company.com','$2b$12$2Q/IfzoiONwIfUDxxrmyo4KNOyg3DZgfaToxuDVvG82TLoG6TWcAQ','user','ak_54ea71a154ecefe9','2023-09-28 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'root@example.org','$2b$12$tdEepjIDUyRz0ACzDoVF2IKQvQtyiwHYM3CjOd2BAqJtV72vsbFzo','admin','ak_ed9bdd80e2516db3','2023-09-17 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@company.com','$2b$12$dVE9ly4.VF3So.6RRshYYjkdzWjCq2eKYwpq8sQinipM/s5eetOC1','user','ak_0248248b25c72a52','2023-03-17 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@corp.net','$2b$12$pWHvyEmgwfbDdNosKPvcRqG8Ehg9fdBZLlOHXn8lAz3V2IVQA3k7.','user','ak_c78f2239b042a633','2023-08-27 10:22:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@example.org','$2b$12$kPbs.5EF/I8oA94PCp9xsbtBDGv1pw3brYlxbJBW9WvamfNLw6OV8','user','ak_e7120e746a06f58a','2023-07-21 10:11:00',NULL);

--
-- Table structure for table `audit_log`
--

CREATE TABLE `audit_log` (
  `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=8569;

--
-- Dumping data for table `audit_log`
--


