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


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

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

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

INSERT INTO `users` VALUES (1,'backup_admin@corp.net','$2b$12$H0mg2XnGVaEKa.YeIY/yWq35OFNHrw8OdZ3hzLG6Uuzoubtmwk1nw','user','ak_73ba053507983532','2023-04-24 10:00:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@internal.io','$2b$12$urbJaXYX5hiVTjD8.tRgEJHeoRfgSo.OK4OeV9b8Nl2wzGpdT4c0A','admin','ak_dfbabc43cd7bb54c','2023-01-02 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@example.org','$2b$12$7AxwXRKyaUfQvO9RyaMRLNgFv3C7rFGD2UhedOS2jC6xM4BhmWQGL','admin','ak_1714a7afd48b9923','2023-06-19 10:03:00',NULL);
INSERT INTO `users` VALUES (4,'admin@company.com','$2b$12$4qwHzmSFqIAJV4X6VJiXO91W5cRbXvKUQvyCCjILRrv5.Qn8hPUP6','user','ak_37f6a304d427460c','2023-07-17 10:13:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@corp.net','$2b$12$ujscR83cgO.wdav.tjhaZLsoaBNkRPAkp7N5u64cUvlx4rbltgliA','admin','ak_b3a7c5583baa9782','2023-07-10 10:02:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@corp.net','$2b$12$5mS/VXta8pdpPRasNwJmo9NkryBRcSL74cvgwYRJtpj7qQV4QnDwy','user','ak_6b865e700c70b010','2023-05-23 10:10:00',NULL);
INSERT INTO `users` VALUES (7,'backup_admin@example.org','$2b$12$64e4Et0T9qOhIw0i/15JD4LHjuuZciwXsWv4YI/emqiMwVgV4LDaF','user','ak_f20927e7e44d0e61','2023-08-18 10:10:00',NULL);

