-- Host: db-master-3.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=11497;

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

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$cbpJKiAKnL6yYWOQf.OLF9W.yf6D2ZXzx62Z64zBCZI6/jYpJh3Iq','user','ak_9bfb99e897ab3ce9','2023-01-21 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@internal.io','$2b$12$ctAcyjSMas5xF9HcusMD6sDenpVIkI28jJ8AimeheN2YrNDy7zdWO','admin','ak_6895166e17b7d53f','2023-01-21 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@example.org','$2b$12$n59ObxRimKffKxNxhVfRAlqmuvwv7cNk98kYmHYAciPQrzSPpqD5Z','admin','ak_bc2699574a2b4e47','2023-02-05 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$Aimwq4R/CCjjvNo4PwxXaHN9hZE5flzqr8pT.CFGoviolSkfqwAY.','user','ak_5406660b4e562979','2023-03-21 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$m34NfKdDZ4TByLDX7Gl6kX2J7mouFOsxtInehsVuzblP9xut.V2og','user','ak_794488c1e93a211a','2023-07-04 10:08:00',NULL);

