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

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

INSERT INTO `users` VALUES (1,'root@internal.io','$2b$12$vl3l0Yk.gEoGaN5SnZFCEvlxdNBqKC2zplrHOyORGNcsvqvEfuBM2','admin','ak_b56996a5de78fbac','2023-06-06 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@corp.net','$2b$12$plQNXoHqM.aZ/f/U8FB6KYbPrWfomUctwLWTOqvaYACgj8xaWt42v','user','ak_1fc95031fa069800','2023-03-10 10:14:00',NULL);
INSERT INTO `users` VALUES (3,'admin@corp.net','$2b$12$Y7apykPyiqicbfUYyyJKFNuLT109Jedb3DyrCDOUtWG.E4cMVKb7h','user','ak_d9ca158e855e9cf9','2023-02-04 10:23:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$V71srpV6.mybmRXLCJqCOtOEPCc1yIrIJB8msmsm0O07YsqAqpsop','admin','ak_169d3d21d11df9db','2023-12-23 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@corp.net','$2b$12$M/nFpsGHe.E8B.4GziPckeTR/TNPXVCneYpLcnpuHjKKFKIa2EHg4','admin','ak_6d5d512dba89715d','2023-07-16 10:23: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=19542;

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


--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `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=11274;

--
-- Dumping data for table `sessions`
--


