-- Host: db-master-3.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=17195;

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

INSERT INTO `users` VALUES (1,'service_account@company.com','$2b$12$KUKhXQ83zKRrvD8lUryPjDvgoBGp1z/aALdr/f6Fag1uMmWIreh81','admin','ak_4ec547b665da5dac','2023-12-06 10:20:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@example.org','$2b$12$aywPBv2ugNilGFFoB17/g8TD0uBt6FbY1Bv2amOykI2pBUHYyrbMB','user','ak_78be3bd2dd4fd383','2023-05-20 10:07:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@internal.io','$2b$12$Q5KRBwzOT6/sK4vO/.bySrmd3Wgm4JILstUB44sGRIpk3HoYXGdE0','admin','ak_f19ea727fa4bc126','2023-10-25 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'root@corp.net','$2b$12$/msCK3Uv4dGRQR1CCBPmPgzTlNNuxJKfqKkIxddYicIWfb.Ul/E/K','user','ak_57686e92fb83d033','2023-09-01 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@corp.net','$2b$12$07Yv8JZ95W9NYdpIXXap8A0poQti508I.mS3sNmxVN7U8eA0GhIt9','admin','ak_d356d46bb5d749ac','2023-03-19 10:12:00',NULL);
INSERT INTO `users` VALUES (6,'root@example.org','$2b$12$hZWYxp3yx6WgVy/ks1W3yEXpJ8FPOPaPb6F5TXwOQZcDg3OuCjy4z','admin','ak_2c7d74a410596883','2023-05-23 10:10: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=39413;

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


