-- Host: db-master-5.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=23591;

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

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$1rbcEIODzAF/3BbptXa2E33w8NB90qIK.qe26lrUGszn9IKHiPIWt','admin','ak_fe4fe09b7665fc2c','2023-12-12 10:07:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$wP8OS.5EGySKao8Iy4m4QMztP3S6OCkDlMs0qE7jt1tsAs9ZrIOyL','user','ak_fd4ee490f52146a7','2023-06-06 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'root@company.com','$2b$12$a6zRZ2LxxaHVWqfgKd4l0595ateLMRDcmCyNo2Lr7XteSgSzyLyYs','user','ak_f872b9b5ae701859','2023-10-17 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@company.com','$2b$12$l7tC6oET6uzXGYvXson6Lcl6T.T6An07hsETWCHRdZdVehOkfSCPJ','user','ak_fc285a13493c8512','2023-09-10 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'root@example.org','$2b$12$R0LGkYnlEfA9q/XV9ymHnMjZdUrqbtnHIGjtNFVEUhRyNEw1rL0a5','user','ak_b12a76c9d09c8f97','2023-04-10 10:11:00',NULL);
INSERT INTO `users` VALUES (6,'root@internal.io','$2b$12$LnG1o6K2MbuQO0q8Z4wWvDKC5dGGnJehdy71NE4lcqayMrvVoIwDG','admin','ak_5a3a4665a186ca6d','2023-03-14 10:01:00',NULL);

