-- Host: db-master-0.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=5640;

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$eihnn4cZ/r1UCYBvh5sW09GIwBtIJK9jT5Cb8ubstTN2iEL5RjYca','user','ak_0e35333cef41a8b4','2023-05-17 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@company.com','$2b$12$bV3j8VO6Io8MQe1TlFtxsfyh20vxgAAxbG6vaVtL6aZPVAxormqkL','user','ak_c920ccbdcb589bb0','2023-11-12 10:23:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@company.com','$2b$12$wZ2QIF2nLwNahxu7vLXPUM4dBLcCTMAs1sztXGoIGuAsfA/TZQT7o','admin','ak_d6a2551b48b97409','2023-03-05 10:04:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$rHl.zzTSSGS0fkNoJlLJflgDC6ZwqUU0koP2mJ4qGNojJyrAzUyMO','user','ak_b3360671e14fcf77','2023-05-27 10:21:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@company.com','$2b$12$wEIH6.odGSGEBHmetrh1Xt0hbZMsWZJSq8kYLhItUx2mlqS0.LqDx','admin','ak_c2c2120465d79059','2023-04-21 10:12:00',NULL);
INSERT INTO `users` VALUES (6,'admin@corp.net','$2b$12$AK2kuIoU6BHRq13EbkfjhGLibqVm9vPUiKGGdI91m6yGdaB1XzoUY','user','ak_ef671131168a282f','2023-10-03 10:01: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=1370;

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


