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

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$Ske5hTHMe4CeO4IvL/OMibBGgJzGi4Kjb4VN/rBc6Kvkyo8dJ8x3F','admin','ak_db6b06b3e15b4a9c','2023-12-22 10:05:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@corp.net','$2b$12$LxaHyUEPJHHRyLQwZSxuFoff7P3M0K62H7AB4FDV.60A7cjd7XqRf','user','ak_ada8a01515aa8e3a','2023-12-15 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@company.com','$2b$12$t9HZVZo87ZKNGmP7Idej9g3eMVKCZ9AtWca38jy7e7EPCI9RhzN9L','admin','ak_0a479f57e049bb62','2023-01-23 10:02:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@corp.net','$2b$12$NrUtEu/hSk2r/1ENo5ih4O1W55zfgbSCsoSH5p0WmgH9knGzaCo2.','user','ak_099673609b429ea5','2023-06-14 10:22:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$dvyLiKryMu4dFsuTFQtTKq0d4xSOTr8vvOquO5s7Yp33tXKUrEmY7','admin','ak_d87b8a830a6372e1','2023-07-15 10:06: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=1522;

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


