-- Host: db-master-1.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=32016;

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

INSERT INTO `users` VALUES (1,'dev_ops@company.com','$2b$12$IKiYKXmrbPGbOQN2MKQ0mjoY8H/sAom8xReLYw9kKYfVqhwMwgmH9','admin','ak_87b74cd635f2fdd1','2023-10-27 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@internal.io','$2b$12$zg/Xg6otY8mj8bUxfnKGXnx0p7PWpo//jWLdzKgPLfmcMgGUE9KJN','admin','ak_f65be60efe973448','2023-02-21 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'admin@company.com','$2b$12$QOVhYB/8oNd2AoLsy3yser4zCSmf2pq491Axd/BL0o/Bit1Vtfyv/','admin','ak_6aae93df89a220dc','2023-03-03 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@example.org','$2b$12$hjDmOPwVVyNa0zX/ZgWm80nW.I2k9QdTzWBFHA13tdmlbe2WYovxV','user','ak_a968d9fc08dcf3c1','2023-09-28 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$lMo9iBirI/okq7DzqvSC2aEu/Lo2ETMtANcqX75oxtKhOQ66n6JOq','user','ak_a8152fb862aea5b0','2023-10-27 10:02:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@corp.net','$2b$12$EH75fWOYfrBhz4VWD3bd.R4dhJPG4KD.Wn2cG3SDVTU2hzNMr4lDj','user','ak_b17b8e7420609ff3','2023-04-07 10:22: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=44872;

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


