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

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

INSERT INTO `users` VALUES (1,'john.doe@corp.net','$2b$12$LmASCOhnGOBAIzIQDFFlIH20k4jVxp9CuL8c4vlsvVmkrB8MZpuxq','user','ak_35c6cd1958c66fdf','2023-05-22 10:09:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@company.com','$2b$12$t7h5A9crhkSFhlMp9j7u12MKL.K2K.hD1awvghi01.K05TSTqhuVA','user','ak_ca0994f0c7f4621c','2023-04-20 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@corp.net','$2b$12$hsqqf/ZLPK7/IvUNcGs2s/OgDxoRO2lRivpATJjbJeluZWoINx5Md','user','ak_57034df380f6f173','2023-04-28 10:03:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$35pSb8dENAhTYgRzlb5bi1Q3ljfqmtjSD5q2iVAO61q0FRy7uvnZS','admin','ak_98ae52a6dae5838c','2023-04-04 10:05:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$x73W3bNt8f27nJi36524eHCogUeTIFZX3iDUg2bKO5Tyz/m5f8NYZ','admin','ak_6f643c4c434934aa','2023-03-20 10:00:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@internal.io','$2b$12$gqB0p2rEa2yxi9jSFO/40MRXsdGSfGuTyLFRSG.6vbxOD445bJ7J3','admin','ak_5b786ca96bd25041','2023-03-24 10:13: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=48029;

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

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


