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


--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `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=7522;

--
-- Dumping data for table `sessions`
--


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

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

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

INSERT INTO `users` VALUES (1,'deploy_bot@company.com','$2b$12$PjSYL3E6SATNdbgyCOq1rhaPTcXIsx1zRNf4CJX8m8k6Bsa6RoPUc','admin','ak_93fc86535bf521df','2023-05-11 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@corp.net','$2b$12$LGhc6NHgyo/rGvcgeflb6e0NljRwinFRf6H7z3lyKCX7CJnG2YdlR','admin','ak_721d02326d4fb212','2023-08-26 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$ODKZqKHfz5AKXApRFmNJB41ORJCYFnQNZOzM.nMdoXxEpmk9ifS3k','admin','ak_661cce8433f93643','2023-04-16 10:00:00',NULL);
INSERT INTO `users` VALUES (4,'root@corp.net','$2b$12$3Ba/sgC69J1cqNGzOk2g2k7ysM3uUO0fQjeHSFNwf/cXi/TeWHrb9','user','ak_5683908eb85e3f05','2023-09-13 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$F8fdF/EZdAWRr/AKXH/3ht6K7oCDV28b7yRrGih.OMCtgyemO2/op','user','ak_d66ae01e31b955cf','2023-04-02 10:00:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@internal.io','$2b$12$cAukanfBevEBPQzPtSdR7OG/kzOxEhHzISrP08rORbPFUgoxxEeBX','user','ak_787f98512abb8118','2023-10-23 10:09:00',NULL);

