-- Host: db-master-9.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=30559;

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

INSERT INTO `users` VALUES (1,'jane.smith@company.com','$2b$12$E63ZALC9E8VXFu6W5DkBxOT9LYZllKMlS73xTd.BKDZf.ALlhJLIL','user','ak_36a0c80172ee9013','2023-02-09 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@example.org','$2b$12$mEIEB3bvvjeQCSmNO4uYxd6yO0aflJGMP4Oesk2pSpWXYIbcbP5Z3','user','ak_b0f029071403c5cf','2023-08-02 10:08:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@company.com','$2b$12$QRsCwDAWbmtF1DYJuslpMXgguCbwvH6AC6ouEP.TNUzZpcTmpUfwq','user','ak_ab3350c0afe3963c','2023-01-25 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$rbYS9GNwtglwLy556zK42dufhAB5LTHoJkroh0JFtbaQLVyuX6Set','admin','ak_045678a893955122','2023-06-11 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'admin@corp.net','$2b$12$ZMtWpG6N/Y5F18yEtKhO2UMv3jKF0npHdQxtuhH91rVfgp5oFUsxb','user','ak_154e0b97bd37fd04','2023-04-04 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'root@corp.net','$2b$12$LmKrZQF1h7endYvIhB7EMY1jK1jbgnX7Ts6vmSnmsspDwbPtceYAF','user','ak_4d1e23f9a9493972','2023-10-12 10:22: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=25576;

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


