-- Host: db-master-6.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=14500;

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

INSERT INTO `users` VALUES (1,'root@corp.net','$2b$12$wgeRRp2IM8OCJxkmUw9OiUaoqo8WZ6Scl5dd1CSd0zjLyMAJ9A43K','user','ak_3907b22c2e0ce93a','2023-05-25 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'root@corp.net','$2b$12$zJo/IXfS9ApX/IsY.mOjWPoJspQu./u.CkX43udBCNZvdQ2dXWnHN','user','ak_631358a78fbcad50','2023-01-22 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@company.com','$2b$12$hI9Y7kT8SpK9CtNGtCzspOQhIQqevJV7NO27KEBIWeEVBhqaaCezA','user','ak_d7f0ce46c0f5b372','2023-04-13 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$3ZzYUYpmbXViCIuWmHkIPgbdcfupalErFb3nGwwFbWtXvP5fw4PIx','user','ak_0d8befac362c7907','2023-06-18 10:06: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=3356;

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


