-- Host: db-master-7.internal    Database: webapp_db


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

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


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

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

INSERT INTO `users` VALUES (1,'deploy_bot@company.com','$2b$12$wa.AQy.N30q0mym8Wir9gllzVr.8chHO38g59UTFHVCVo12NRurGO','user','ak_cb95abe4071fdaa2','2023-12-08 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@example.org','$2b$12$h22VNvYAHejrRBe9LxCFln9oOXIhbPoJjfNzH7JtnGSrLeBzxRIhq','user','ak_9505d04b22e772b6','2023-04-08 10:03:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@company.com','$2b$12$1bOrTfylE4jV76.06XD74EjGdqB1sTE689rGu67/5VlPGxJ8JXi9n','admin','ak_173f8b79a3af682d','2023-01-15 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@internal.io','$2b$12$toW9n1uhlSujXKo0TCFXSvfDmD0jJvMNDq9hQ2GxQuqV95HnzQN0F','admin','ak_d15b46cfdbb09eba','2023-11-11 10:10:00',NULL);
INSERT INTO `users` VALUES (5,'admin@corp.net','$2b$12$G1AzRvNT8VQ7Z8X9u5Tt7svZwNZOJb3CHj5wt11x3tR0er0uAM1wt','user','ak_abaec2c3de6f7765','2023-09-06 10:01:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@company.com','$2b$12$wlzyhCt3QcuKvrlvMjcwjda0VPEt6z7bXGu8ztXTk4Ol14fxQ7Xsc','user','ak_d9689dc5d230b82a','2023-12-16 10:13:00',NULL);
INSERT INTO `users` VALUES (7,'service_account@company.com','$2b$12$PluHCFprbuhYTNKPnX9j0Ffs9tFYzNAhLrnmafzWmrd/nTDc38iCe','admin','ak_be4b08c412232c2d','2023-01-21 10:18:00',NULL);

