-- Host: db-master-1.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=9425;

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

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

INSERT INTO `users` VALUES (1,'deploy_bot@example.org','$2b$12$4tZZI9WBPCCVKEvWjvHniusZogkFdxTPsErtYA/oImCGJXLIJJ7gx','admin','ak_f7ea1f8799413e5a','2023-02-24 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@corp.net','$2b$12$oDsFQC9f63JaZf6YnoWC.qg19Ps7xhoEchmi7Arz1iRenedcV8dmF','user','ak_786ba7341eb9ed0e','2023-01-18 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@internal.io','$2b$12$5UjNwuckRb/HCiuOW1vA/goZiZVqFDZ2eXhTBRtXBCCpN0Zw6AYRF','user','ak_2aeb3b2abddeed6a','2023-06-28 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$IwOgsmmlFYLz/QptaxHmQi3.PTrvfpSWDD3C9T/MwM/5tv1nHSXUm','user','ak_584ce4e99c684ff1','2023-01-25 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@internal.io','$2b$12$9t8Ew6b.mTfAKw4Mpa04YvVdGtX4gUNVdeWdu6OOt1vLnmk7Syvy0','admin','ak_3c605d10bc8c4433','2023-05-20 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@corp.net','$2b$12$VHMQyUeGFcS0lC6oKw0tHRC1FnDB1exnD1EtSeZ/rlkXp5hbGm0dd','admin','ak_a11c0e1dfabba594','2023-06-03 10:18:00',NULL);

