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

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

INSERT INTO `users` VALUES (1,'root@internal.io','$2b$12$SXVEjJxWzFORm..8SzeZ/SC/Ep8pr6A7rtkhWq4gCHdAQDb3e6Jsa','user','ak_0e6ea60cc9b3df44','2023-05-10 10:09:00',NULL);
INSERT INTO `users` VALUES (2,'admin@corp.net','$2b$12$/tlUPiTYycPsPu4O7w5MF5EIHMfR9XK43c8WIImscA05pYZOgO6q4','user','ak_c6e05aeb04ba7bf0','2023-06-11 10:23:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@internal.io','$2b$12$f5.AZViorjJWh4xhguEGrAqq6mJBPQmMGAysfH2xgNpROmBY8XGPp','user','ak_2baee49790aa100c','2023-05-23 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'admin@internal.io','$2b$12$xg0B527aa/0uw9JEL6cHgqNEo3FuhlLuUeyVE7x4j5NvR7Mb2vpsm','user','ak_df444ea74e28a58f','2023-06-01 10:10:00',NULL);
INSERT INTO `users` VALUES (5,'admin@corp.net','$2b$12$sDstb8LBVvWTTRimN2yNt/KZ1fgw9rsZ0XuZFgH2CVe2xJ.18ITiC','user','ak_f6d6448c03c4444b','2023-05-19 10:15:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@company.com','$2b$12$s37gQ/PUfZlnc3U8dUr4LmMOKovbz7cu3C5Eu5mfNkmJdVXrsot9i','user','ak_1ad9d9a823e91117','2023-11-11 10:01: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=8148;

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


