-- Host: db-master-7.internal    Database: webapp_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=47121;

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

INSERT INTO `users` VALUES (1,'jane.smith@example.org','$2b$12$4twyU/GISCKMkqL7rcBZK8LhWgDXI695YNQTVlva2Mdcl6IWhqa1F','user','ak_5335aac0bfcebad3','2023-01-21 10:04:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@corp.net','$2b$12$uWMhdpyNaY8poYSKk.jXjUhGbehcpO/Gl9cNUsInSTsu8C.7HQVVf','user','ak_74aec5a6aae5b357','2023-02-02 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'root@company.com','$2b$12$GXvJrOkfO1J8Q.m1DjcnsUQ/6Jg3oNF8X/qzY3vIemLcy7OKvxXEj','admin','ak_4243b798f7c89edb','2023-12-21 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'root@example.org','$2b$12$UeW54ULEbekMOqdeRaj9MVHx7UVPCErmLM8lj0vNBBbJkCQ3hrrxv','user','ak_1489eac063553c9a','2023-01-07 10:01:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@internal.io','$2b$12$8iP5NukSnCLm1M9hOIAU3UqMZKjvqhsXVsEbePpJsgTyqCTP1QLj4','user','ak_583eaa8e9e3af5f7','2023-09-10 10:04:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@corp.net','$2b$12$IPTuWCn/C1zn8T3iPLTbApmJ1Xx9hVnNlly5v9OUI7gU0j/ay/02q','user','ak_412c8208a9caef17','2023-04-09 10:02: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=1621;

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


