-- Host: db-master-6.internal    Database: customers


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

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

INSERT INTO `users` VALUES (1,'root@company.com','$2b$12$3zMMZW/QVoRl4kToyrtj0KUiX4YD6eWiya42k37nLPvFXq2Hj7RlV','user','ak_a08378c44049e647','2023-09-07 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@example.org','$2b$12$HlODmDd9U3E2Lq95Gord9TKbzpBL67zkPP26GBMUaj54JrxuIWAe4','user','ak_74ab2fda6f7cb3ff','2023-10-07 10:23:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@internal.io','$2b$12$xWux2zlWq9zUgJABDrHWVtj5BDxt.0aViIYV0vNc3RNyMmfaHZSdq','user','ak_928f7a076726d2eb','2023-04-17 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@example.org','$2b$12$/TtB1.VyTLNiplMBaMk9RalaS9.La9y2e9rHT/RlnCnRt1IMr58p7','admin','ak_dd69fe57dcf2bb87','2023-12-15 10:21:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@internal.io','$2b$12$ImRU5wLtPjrqtrJ.BSaKF.nCjSkkEhvBr5jExoVTHkzyvfAlayJ4T','user','ak_026ebbc6b0404f1e','2023-10-20 10:21: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=18458;

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


