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

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$BxtBjj51hAZ0uE3EhjkXzQgM7wQ9hcW1yC2MF9jxZgiQbBq2I2ReN','admin','ak_fb5e243a1cd25d7f','2023-10-20 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@company.com','$2b$12$ZygMUEEAdRW91JjoPHpcUMaI3mg66PbTTACzzNdO6W7F22.jEr9kR','user','ak_d5a68a3bb7ab615a','2023-06-02 10:16:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@example.org','$2b$12$1jorPZ23t68Cmn07R8ZM6uqcALadnkB/pLesALLuOwLeaYIqw5Obi','user','ak_adfd9a6d150a4678','2023-12-17 10:16:00',NULL);
INSERT INTO `users` VALUES (4,'root@company.com','$2b$12$PLhWao1m7P5bvwqA3WVdIaiJF.52co7PVV.oaUNzCxb4jLpF1fnsp','user','ak_aaecbe8186282bd9','2023-05-01 10:07:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$V4AwAEwXKBIwjx6IihJTg2HeE24U9WFqielGMaafqHlc4xublw8w8','user','ak_29b89325126dc5b7','2023-10-20 10:12: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=26036;

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


