-- Host: db-master-0.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=27270;

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

INSERT INTO `users` VALUES (1,'john.doe@example.org','$2b$12$u/9uEJuzmsGS1NH.d2UgLSGAPhMP7lvlWWmuMTFGRMn9nXZXpUcEs','user','ak_1702b4afe273e479','2023-12-22 10:20:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$JbJfpafAAN98EL76UiErOhH7OuPqniGS4iuLjQ9DJTXFUjxJKxctL','admin','ak_76493b0e00a02e37','2023-03-16 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@internal.io','$2b$12$QWzo.NwOLRntfHKHmdvvxwWlEb/Y3Opp/CBwhCsUg0RwOfL/ZZuE1','user','ak_4b466ecec8ad058f','2023-06-07 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$b/nxuxugUFteUn6I51AO5qFefN6vdJwl5zQaKc/aLx2dqcMblu8An','user','ak_0a3805d55c2a2de4','2023-12-23 10:22:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@internal.io','$2b$12$wIRLLuN/ARplgmE.smAGvvhZ2jftnahjLHLZZlnM6Aeo0W6/abtcv','admin','ak_cf314f50dd9b77c8','2023-10-28 10:14:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@example.org','$2b$12$oAY6JAlAvJQdpITNG2NkFSv/6XUzcLjOkjlMzv.tCryxwnV60kBpS','admin','ak_ab4bdd606d6553d7','2023-06-14 10:23: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=27923;

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


