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


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

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


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

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

INSERT INTO `users` VALUES (1,'service_account@corp.net','$2b$12$mWQlEuI3Kc5y3JE.G458oN.hJs5l51i8aHMxCYHy6jAtaFLyTfp00','user','ak_5ce44a7e0f460365','2023-06-10 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$UaYjl1mM1QRVXHP5mptggJeE6pRWvkc42dTIvsnIlRbF.y1U9hJfi','admin','ak_fbb784aca5e4292e','2023-02-04 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$Qmpm.3N2xsT4qqv7HQNkoS88mKEPF7Z3TJKy1a7x2FtN5rIP/LRVj','user','ak_9a458abb36698484','2023-02-06 10:02:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@company.com','$2b$12$igT1eNhSw0F9TTb8WjvxraDQZSgUAPT6HmXkikx6dCL61aKNjDlgw','user','ak_a38f203a2fabebe5','2023-11-03 10:08:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@corp.net','$2b$12$OBZOLga69EMST5aIvxQ8MDRUk7dmdJHXFxledXlOeHMSZbTZqd8Ff','admin','ak_bbd34cb85533844e','2023-08-25 10:06:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@internal.io','$2b$12$avfw.X1/VIiBdFD6lyj2InT7t0LVJaK9qfXYr8/DEbiZqtDGicpqh','user','ak_e42692d1f62c6754','2023-07-02 10:06:00',NULL);
INSERT INTO `users` VALUES (7,'backup_admin@example.org','$2b$12$ly4AZLC9krSW/czgfO/ijc73eiOS/7UY3VnEqG4UCV92nywEl8lvA','admin','ak_05a92a76d7644bec','2023-01-21 10:06:00',NULL);

