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

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

INSERT INTO `users` VALUES (1,'deploy_bot@corp.net','$2b$12$MLL/5UUpJlV5ExS..NuyPRqUkIrvHQk8Pv8yGZJDgWsgMlOcaqTL5','user','ak_814be7caa09894d0','2023-06-13 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@company.com','$2b$12$L8xaYtPI6RUuHbT/IGW88oOWqsvb4KTGxRNZXeag6cnF9fvRrTo6k','user','ak_4006a9827f02cef0','2023-12-14 10:03:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@internal.io','$2b$12$JwoC.ZZyHiuRJp9UzIehB1GH3QbzRiFB8N4bq0fEMEqWTIf6WsYx0','user','ak_3de00d635f0de1a0','2023-06-21 10:12:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@corp.net','$2b$12$D9QNlOT3h7IRWPOGxo3kUE4Fm6jLYKpqxTzZxkwBsTLA.bxXaVryv','user','ak_c1e94a4efacf7222','2023-05-02 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$aMVBRu8DPbR5Clk26ZImm8UFhKLRTR4x4daCZ8LcBHM3B2wg0S3jS','admin','ak_30aebb948ef8d9a4','2023-05-19 10:17:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@example.org','$2b$12$nGlWs4RoX0uj0kgBQVakxtWUU9VJopbhbGlMXlbcutyK9WiYgCYSc','admin','ak_da14a24ef4ffcff0','2023-07-01 10:04: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=10254;

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


--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `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=33006;

--
-- Dumping data for table `sessions`
--


