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

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

INSERT INTO `users` VALUES (1,'jane.smith@example.org','$2b$12$LGDNLimISw15ajDAoIttQqgjTsv8XmoSahRxQiYDXQr/mQ2hUPvzD','user','ak_e3c934de4a8325be','2023-10-09 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@corp.net','$2b$12$F2baLaJ7N3PnXwqbiQAZZ8fZP8PXh6d/ZDnHklv8hjf.8OfX9HIP2','admin','ak_4a08f735d6065fcd','2023-10-19 10:04:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@company.com','$2b$12$2Q78M3K.7oJRDM.cgiq9RX5XbBlvzkRHBn5C8gz4JtRjtTBWnHSTm','user','ak_6031d16e35e80343','2023-08-20 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'admin@internal.io','$2b$12$SgEbjNQn9F79fzB7XgUcrdrnis8MrpjRYV/1xlNlQzaTrdmkXDYNs','admin','ak_0ef1703a5c73c065','2023-09-01 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@internal.io','$2b$12$hKAAI58iUH.Cy4nbStAhT0dyp0HUQewsavPDezO8d.9OmKt3Rh9HB','admin','ak_7c4fcaac441bf00d','2023-01-01 10:15:00',NULL);

--
-- 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=38548;

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


--
-- 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=27025;

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


