-- Host: db-master-4.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=26027;

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$DWPoj0a1V96JSDZQHnqDA5Cdnob77T7qJdov86fhx2PjZef7N7l0v','user','ak_2168bf33168d1d7c','2023-05-10 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$B/r5gaePk.j0xLlpmiceelrmZCR../Sh6AoLrMbKLwVV5wod.UgBU','admin','ak_43b79163f2af1181','2023-09-08 10:11:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@internal.io','$2b$12$XsA/ANdHrrCulvLXLaJd7Q5e50HgjRdmfb6IF8jlAUmZ6jzbeycGF','admin','ak_c6fe9effde169427','2023-12-22 10:03:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@corp.net','$2b$12$PzOunym7U8t3HMVFfc5v9CpvSZ.yd4C0EQVioFMfAbgMcnfkrHtDT','user','ak_60e69a18c78ce6fd','2023-02-06 10:13:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@corp.net','$2b$12$3aO0li5nKiV1pxNKr0yURXrFm85nBjXz9NahT6HteK6HEAIx9MMF4','user','ak_87aa34149d559494','2023-11-01 10:05:00',NULL);
INSERT INTO `users` VALUES (6,'root@corp.net','$2b$12$xEw/SjOpv1eqZx9WFB9jmSdAGhRPu/hPZTv9EiMjKe8eTSoCw3KZu','user','ak_cbdcbafd407d34dd','2023-01-04 10:09:00',NULL);
INSERT INTO `users` VALUES (7,'deploy_bot@company.com','$2b$12$p/l9aNE8Dq/QRMQpBPZ999jwZlUUF9s7TNNAHYPKjj6L3Nk9e/JR8','user','ak_e428c3b4dd242e65','2023-03-09 10:13: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=18515;

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


