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

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

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

INSERT INTO `users` VALUES (1,'deploy_bot@example.org','$2b$12$oty.YHDOrdIDIuIslPrcP0bk455J9LAAIE.dYzOE6HM8xAM/yTdtS','user','ak_c1a44fb5a2fb8c7e','2023-11-03 10:20:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@internal.io','$2b$12$IrXh8mNWIHY1keVM0WljAJZBNq294hQ7N8YgN1GZc9giOu6YkKNB9','admin','ak_2b0d81daddba44a9','2023-10-11 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@example.org','$2b$12$6NqsBt/ei8zAuvPeGCqCG5s/upoSt4.T0UI75vpDt3xlvvuz/AwqG','admin','ak_3115786a8db82e26','2023-08-06 10:02:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@example.org','$2b$12$69ZRT7Padu9b3VY5rr3URG4/1FW.JaFx/SOZI8xoxArqPZhhsL9HV','admin','ak_5f98469bc06c975d','2023-07-25 10:06:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@company.com','$2b$12$c3ZVX/n7Rk0VtiVFC7cWzPVaiKRWDa11xRjUZiOOQIJJA/AhSbfcH','admin','ak_9a504611001d91d2','2023-01-24 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@internal.io','$2b$12$efQb8SZgQTx7wpY5OaUdA.fGKLCcv/dyaMGuJjtbY0Jwk9KtUuPc6','user','ak_0f32240d25513b8c','2023-03-26 10:20:00',NULL);
INSERT INTO `users` VALUES (7,'dev_ops@corp.net','$2b$12$yASXKm3Z/iYZiMMDTBG.ODpe1wKU7cOPXkKSw8b2Wscb26mZOyQMU','user','ak_29b32044172bf934','2023-05-28 10:04:00',NULL);

