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

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

INSERT INTO `users` VALUES (1,'john.doe@company.com','$2b$12$uE4kW74bmROMQ6oQqVcDju1ftwfUR/dnv3wWf6lJt90iZ3gHfwdZo','admin','ak_18c120706d847527','2023-06-10 10:17:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@company.com','$2b$12$lUglUdNB3yTawZZ05inL7xZVKnP2hhxFUrRmcP8xvLenTFx0u0.gt','user','ak_fa999da614643dcf','2023-12-13 10:03:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@internal.io','$2b$12$thz8sFnRz6A6g6YoFKMbqvy.RGy7HrNCPPcLe8n0vfgX6bXcTTUyX','user','ak_576aeecd0659fcbe','2023-06-11 10:05: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=11924;

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


