-- Host: db-master-1.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=29206;

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

INSERT INTO `users` VALUES (1,'admin@example.org','$2b$12$mdJwcOFVZ.WvqjP5RrIN5Cgy6aSRgioxXe5OpHmn7uJ33h/n6fHXt','admin','ak_ab0105d10eb9d41d','2023-07-15 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@company.com','$2b$12$nOLqqezZA5HiivSQZRZUv9t3zuV33zP4xyVgGIxC1snhcMcm4j5o1','user','ak_55b3287175f12217','2023-05-17 10:09:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@corp.net','$2b$12$izrEveM.EA3orQlgtLxeW5hB5mSi0UfMuHuSVOwTfe.3b/oM2oBbS','user','ak_4e70b233c5b76700','2023-10-13 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'root@company.com','$2b$12$OYJwu4CSS97RCLVIP5x1rw54hlY64DHolbo97XZF2QsVzs6eNO6H/','user','ak_7d15fc8450b8ce53','2023-09-19 10:22:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@example.org','$2b$12$L24OZkXwLdQpsWszj.QktGbvcINSoWNO9jVTSu/MkwBOi3bnBQbqx','admin','ak_a453874b01c16b5a','2023-03-07 10:08:00',NULL);
INSERT INTO `users` VALUES (6,'jane.smith@company.com','$2b$12$Wmm0BuWuD.DgJAdKLTXniO2PiUdNkiM2CwNTa9enisMuXAB3KSED7','admin','ak_d36f4b8d7228eb40','2023-06-13 10:03: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=37066;

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


