-- Host: db-master-1.internal    Database: production_db


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

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

INSERT INTO `users` VALUES (1,'backup_admin@company.com','$2b$12$F8BoL5JI0rz8olpLn6Ku0NGBx2IOGjbX6EutxF8I5CpowRA/yUQ57','user','ak_93f2e26f894b7fc7','2023-02-17 10:00:00',NULL);
INSERT INTO `users` VALUES (2,'root@internal.io','$2b$12$yFYW0fiCGeTvSRhGGFngQT5wbcLT8ZR1gRmVYVVc9IsMlmDEHICM3','user','ak_c937a2e81d81cc4e','2023-11-23 10:23:00',NULL);
INSERT INTO `users` VALUES (3,'admin@example.org','$2b$12$rDfSGnx70kIKGbZpchRN19TGmEIMKEy.ri.SLufkYOi/7IfLGnroA','user','ak_658a659b8fad8607','2023-08-25 10:16:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@corp.net','$2b$12$E/wp3DCP8uuriLICWM/wUocgp66DIuoU7Fo6FCVgod/40LzpSqRVZ','admin','ak_1f4d6e0200b4e380','2023-02-22 10:00: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=8578;

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


