-- Host: db-master-8.internal    Database: production_db


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

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


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

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

INSERT INTO `users` VALUES (1,'root@example.org','$2b$12$eYv3erszD2vuXmLheCWlCDtADqSkHJloI9QIkblUCJ7.jr4qgzNJ8','user','ak_bc5c5a238d0dd81e','2023-03-04 10:07:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@corp.net','$2b$12$U8.0oFK78RHUl6B01LPdz0ooExOLMIXkoNHvVOJ4/mUlgJXZDGl0s','user','ak_cad7969dd4c0c678','2023-05-03 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@company.com','$2b$12$q8nQncUowJ5XuJHlJefXOZJWjgq8thvkUL.5ffMLOkATIdyUe.jya','user','ak_95957f6536ccb405','2023-02-14 10:16:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@example.org','$2b$12$0k5e/IN9at7rosE4Y7WswY01m5jGsVhF2km74XdqwqareNY9V9/tN','admin','ak_e06460ec0c4920a3','2023-11-24 10:01:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@internal.io','$2b$12$eS.XwiyfK7asTxV/JGQENc2EFrKh3JvBcaej.ePRbhGWB07QM2UoG','admin','ak_7b2ccf0e736e585c','2023-11-08 10:20:00',NULL);

