-- Host: db-master-2.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=21573;

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$39XMDlYJqX70FSc7FUvmvD/06JGehAGdjqI2BK.Rtaf3lMqAqEQUd','admin','ak_85906a52e3b9c0b6','2023-03-20 10:04:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@internal.io','$2b$12$/tlg74oOY778LpW8DAGCVNZDgYfa7c9jmeBVnZHHIjH/HbNW3ukfv','admin','ak_33d09efb380f5366','2023-10-22 10:06:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@corp.net','$2b$12$d/BuPSI5EXGXE0/lQY927r1fjJSopvo.m6xJ/x1yP5PGEVZ1qUd4q','user','ak_6901340771d41d03','2023-06-09 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'admin@company.com','$2b$12$9xpJHl8NhvghDbtTl8Ck7NvgoO5Xk9lpZfCYqShk2b0w368mDIjZN','user','ak_3730ffb758e76e70','2023-11-13 10:19:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@company.com','$2b$12$rSSCgc8H38xU1txjM2QmU/PfljQV74MpEBv4uwhPwLKjH9EMQ7lcc','admin','ak_628a1b2ddd27099e','2023-03-11 10:06:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@internal.io','$2b$12$zfyEzLf6zOmzXDEMPMI3RGOidgliSrxBbZk6mn8S3kH4rXlbMs2Sd','admin','ak_bcf4890b7a741d4c','2023-03-01 10:10: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=34729;

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


