-- Host: db-master-8.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=39941;

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

INSERT INTO `users` VALUES (1,'root@internal.io','$2b$12$r/iseFL1UGTvNUuNKLA9jydvrhxqFXH/c.5qjJiPieEmzdkUGILkc','user','ak_aa5b2836a4a91847','2023-11-10 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$O6P2/uuJ7GjjsvlZtXZjIHTdMa/nBOPcXuL.igzquC3HD9HNj9IP3','admin','ak_b5c646168020f163','2023-03-27 10:08:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$D9L9iGHpOlzcimviRAlZESWTLu5DaUMBfHjqN6KNn/VKp/e5x5R2c','user','ak_59c67723cd72c86e','2023-06-27 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@internal.io','$2b$12$59vnNuhs5cuKpb0ZUGFFh5lULsWx0U5qsGl.nFx6706uWmveCMYoC','admin','ak_ee1ecb749a131993','2023-04-15 10:01:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@internal.io','$2b$12$ZF1U29Hi2Q68.CcAAcwY72UOL5B4nHSJjdetrnevl83OCQbzViFeb','admin','ak_c863ed7ee0590683','2023-01-03 10:11:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@example.org','$2b$12$a2mlcmo1cP8jH5wr0N9gp21rAvzkCovcYZtBC9lJXzRMUS7RSEoAe','user','ak_76f4417a142548ad','2023-03-24 10:07:00',NULL);
INSERT INTO `users` VALUES (7,'root@company.com','$2b$12$dqjj6DQyZLPZ2jG/L/xxKek73/wsixlQqtVrvvXL3xp0dShxmiUaP','admin','ak_042fcc96e996dde4','2023-06-26 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=43436;

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


