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

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

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

INSERT INTO `users` VALUES (1,'admin@internal.io','$2b$12$iapWazoUyJNXH1kPbnJoeVJPGG/IAp639B3Qrzvl6KZumWc.T08i6','user','ak_d45f66f66fa0cc9e','2023-09-24 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'root@corp.net','$2b$12$hS1Pe15VTtUU7XX/HZxuHAyFCYsAera4ruypb9JOUr3hJlFeJw1wD','admin','ak_8fc00f62b09ca274','2023-02-17 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@example.org','$2b$12$.UDWXHi9NgNPJ59OqL/CBjS17.EQKp0Bp6x/gMlxfH71XlSPa3QFl','admin','ak_fd1b63f625356a6a','2023-12-12 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$LJjOJAlLJmDGxrXfKFnNsihLqmaqFU7E4/nl.ftYKuUMv0T8ztuX/','user','ak_91c189e1cb0be20a','2023-12-19 10:02:00',NULL);
INSERT INTO `users` VALUES (5,'root@example.org','$2b$12$fkmTq3I6Y4Hj8zQsQnAYjuTmhfParny19YpOu8LEXp8Jamy2JEXbz','user','ak_05bb34d782b62f5a','2023-02-20 10:07:00',NULL);

