-- Host: db-master-5.internal    Database: main_app


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

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

INSERT INTO `users` VALUES (1,'root@company.com','$2b$12$XjslnVH/KO7RG4fpjQyYYjhGbIQMOY57AEO.wFny1LOpssuf34Wkt','user','ak_9d15a1c6f363aa47','2023-03-09 10:09:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$/MnXP068JJl6Me/Ys5uISIJP5vWrfw60sIwztObnXj8Yp6Xq3XNcp','admin','ak_aa6d0e0058d2e365','2023-05-01 10:04:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@company.com','$2b$12$fVqpTap0lJ0LI.6/yZjwKxCMw36VZ4nKTqoRiEiB1cbye4ZzE9VrF','user','ak_86051e33cd010c34','2023-12-25 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@company.com','$2b$12$nFAxEejfrzXZWQzoZdkDEnTKX5nIQeM9uu1sXKrstDrxQld/B.3fP','admin','ak_aa936117c3453125','2023-02-02 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@corp.net','$2b$12$waw2IuyesYbq20UJMuLMCjHbKAm6RHIVcWReie6DP/ScCNs8jIvMw','user','ak_3173386295638eaa','2023-07-19 10:01:00',NULL);
INSERT INTO `users` VALUES (6,'admin@example.org','$2b$12$LujYMIdQe9xWlneOUK5GT1e8wXaD2gSvOhYmLUbbhnD1kDGlJRNhJ','admin','ak_6ead84a88a39d038','2023-11-09 10:22:00',NULL);
INSERT INTO `users` VALUES (7,'john.doe@company.com','$2b$12$XTpi83Dpv2.ct4iniUnBIRK0AY0CJGjsRQtsDOqSM8HMxNwaLkDSc','user','ak_224969a2194b7324','2023-06-23 10:06:00',NULL);

--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `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=29241;

--
-- Dumping data for table `products`
--


