-- Host: db-master-3.internal    Database: main_app


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

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

INSERT INTO `users` VALUES (1,'deploy_bot@example.org','$2b$12$I5ZdHkk4gqX7CE29gaNma3srxmU5cAfBY.HPwlFtZlNY21Ty8hJCV','admin','ak_b119e731f8efcc63','2023-02-25 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@corp.net','$2b$12$4hkKQkqqH1s08EdgVy/UZbCewBDPbdKwCMPKWtmMJo7lvXIxLIR7E','user','ak_d8df5743d4654cae','2023-06-22 10:14:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@internal.io','$2b$12$Oji2PC83HaZjZAnZC2bfi4yj78Y7H0zH2/wL4X6X7LRKbvXf2LRrb','user','ak_a70f60f018ff5d2c','2023-01-22 10:03:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@company.com','$2b$12$vC86kX2jELM83WUmdzPbN4jI4xiWjELjBOJ.45rtaLkGodzsYrGzh','user','ak_4af66cee4362df0b','2023-01-26 10:17:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@company.com','$2b$12$Lm6.muDiqnNeY8URWpPyxaWV7osvUvpZdJ.2OEhiSNprQTM7CxjF3','user','ak_8ffba333041b750a','2023-10-22 10:02:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@corp.net','$2b$12$qfInJ/pWRfTdj9kTD7z3YHRkOr0YgchFQJf04iaqd92OLoVyGWWrH','admin','ak_34b58cb9399b0147','2023-09-06 10:13: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=49142;

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


