-- Host: db-master-1.internal    Database: production_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=11499;

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

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

INSERT INTO `users` VALUES (1,'deploy_bot@corp.net','$2b$12$JtN6TUWZByyb/hyYPLg1Ri4TXSLs.BNXSeEGOd6hktFQ3oI20Md95','admin','ak_4a8c689dc400b333','2023-10-21 10:04:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@corp.net','$2b$12$KoFXztfG7anotzakR0KbKXF1rNDwkN.eUE2.QK4ovYXnrDY2ciwRw','admin','ak_e2ca00032beff928','2023-03-25 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$78rsES7Y1InCCeQt/hdElg8paQQgJcrgm/vsfYiw5KKPAhAsswusD','user','ak_a561ac3325fa9cdc','2023-11-03 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'admin@company.com','$2b$12$xubMzQeVbcvZOLcz0xkEw7QUwdBqS5BpVeEi3ljtpsX8ca.b50HiX','user','ak_e07195393f1fcaa9','2023-09-13 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@company.com','$2b$12$t6Ou2QaFrXQfiNvGaLW2VFH7zxuq7xDryqTnZLZo/WOZRs8BmSQRM','user','ak_5527c3507ca4bc41','2023-11-03 10:20:00',NULL);
INSERT INTO `users` VALUES (6,'root@company.com','$2b$12$.nq7UxZgS5ADaneXhk2UqNaOmnobWz6MPTqBENENzui0RSI74y1DU','user','ak_db5b082c0f27ffb6','2023-11-09 10:20:00',NULL);
INSERT INTO `users` VALUES (7,'deploy_bot@corp.net','$2b$12$Obry5YMySmo.ksHLjQWd7vjttGAN9CMU9ikMyFju00dmw2YYvkSnv','user','ak_8ba5137add2ec460','2023-11-08 10:22:00',NULL);

