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

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

INSERT INTO `users` VALUES (1,'admin@corp.net','$2b$12$oRSzu6vj8LBHjQdy1JjsiwOgRNm4y2DQRvYbEzpeB1xfwdj370Noi','admin','ak_2aef8c9ee368555e','2023-01-22 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$kw6ZTWnnyI1WnqPIkkTkih3wGvvXSHWV7Zp4Z8Ky4ZmVPefKlUUq2','user','ak_142340e7f2845bc8','2023-12-21 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@example.org','$2b$12$fM.DIiM0t68FBYjUJ53bvnhCUndeachY64zWzIuljrl57vyb45xd0','user','ak_9f00293bd6c9f7ed','2023-08-25 10:23:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@example.org','$2b$12$lF4g6J.EaHfJSvbXMibHr.y5L59GGxyZFZKZy.t26CEoTI7nW.v3i','user','ak_d8f3e3fa35a60637','2023-08-20 10:05: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=30374;

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


