-- Host: db-master-5.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=45447;

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

INSERT INTO `users` VALUES (1,'service_account@corp.net','$2b$12$I2eb5cwpBpE8p9BWunOIws2eECJQ1FzpH/MQU9aeBeIqxUkueRHGo','user','ak_13719df2a21f6f05','2023-11-14 10:00:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@corp.net','$2b$12$EJwDo0Hpb5/Q4eHHz7vcxA.b/fQif30Z.JT2uNTcq5BeKtVPMCGBL','user','ak_f0f590f7e997d068','2023-05-14 10:03:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@internal.io','$2b$12$dBnJa/g4WQumuozpe4SnM0nm99S0h1NYJQNMMC5pnTuTaTldA4.m9','user','ak_ca5543daeb85a156','2023-01-12 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'root@company.com','$2b$12$WL4KmMK0TD8U3nvln.45LdHrJrqsyo/XVGOPmTAsqKlHjlAQ3QsMA','user','ak_fcbb9c205c938bb0','2023-02-06 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'root@internal.io','$2b$12$5/npu76/NXwN4Xcui/hrfmbLgDE2AQZIE2GAK27/6.EdQVs9KPDxw','user','ak_78c25c2bade6c695','2023-02-25 10:07:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@example.org','$2b$12$MxgozzFuUtEvtypbV.WDVqCdXqu5YxV5AcIA6BR.0nYtO7ZrcTwaH','admin','ak_181a9de4aa88fdae','2023-08-09 10:18: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=44424;

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


