-- Host: db-master-8.internal    Database: production_db


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

--
-- Dumping data for table `audit_log`
--


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

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

INSERT INTO `users` VALUES (1,'john.doe@company.com','$2b$12$yU2iWsog3WZyeqazVORLLUMg9umdTI5E6VxJZ5if/GArH6C/GzpNh','user','ak_763b279fb1112dec','2023-09-27 10:08:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@example.org','$2b$12$MlTe4WxyXJXTVe88A9lpWbrHN6FaiozqcMHeadc3WYyoZH2fUIfSI','user','ak_9b58ca7a70da6aae','2023-10-26 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@example.org','$2b$12$6sO.bSGgP8GVugWw3NSO0jBtCzVaROHjUYt9zPwBvqdxvMqU7cUx9','user','ak_64aeb0c11b10555a','2023-06-01 10:12:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$ioQ/nAYUDLvrkwDKjPOvhWL9VZn9elyuTY0QOSEloXIDXpKC8AwUv','user','ak_b61930bc36c6a5cb','2023-12-09 10:21:00',NULL);
INSERT INTO `users` VALUES (5,'admin@example.org','$2b$12$Kl1xXLwE5l8byNOwHdOArgOrHKNuC0zIGr.NXYMmBaaqh9LuDKvbY','user','ak_122e0089ebb9741e','2023-11-14 10:14:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@company.com','$2b$12$01UQtTImECCwcu3Ou/3/y08w4zoc8lhy6Qx0AB9WNh23os.OSfH6L','admin','ak_b351c1a34f15156b','2023-02-14 10:17: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=5471;

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


