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

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

INSERT INTO `users` VALUES (1,'service_account@company.com','$2b$12$MWGwETzz/Bzf1AlBMpqnfSYvGz/YlgFCtgY1PLfUfPGoiy25JcanQ','user','ak_226378eb7bc279e3','2023-01-06 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$uhRjcHT6w57LxKbqQdR5GLS6tHU1e.0K/N8uJgQ8nAokIK9Qo3gex','user','ak_12b5e9a5c3a3463b','2023-11-13 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'admin@example.org','$2b$12$HLOg5rFjuOwEN49CDib6W7erOTZ6XZfrgfkOio1KT6/YguH0wDBnX','user','ak_9c55711909a5e639','2023-02-17 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@corp.net','$2b$12$0Jshx4Trmc5XeESfUcRSAkuH5Zx1sRjJz1Bp6yOW3nnoaaxdQQ0Wr','user','ak_8d5bb4acdfa0a2db','2023-12-08 10:05:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@example.org','$2b$12$Qe/XqmHOW4RIkuQryMD78wCQ1BWFwbExjr.3YRHoN7SXMrdaZe038','admin','ak_0a583d69d632b404','2023-05-14 10:05: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=25157;

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

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


