-- Host: db-master-6.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=3507;

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

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

INSERT INTO `users` VALUES (1,'service_account@company.com','$2b$12$XHp8J2v/T5mGDcwFdP6TLnvjdBm8tJ8oeJ14K1U8mQBQBKFzHkJhF','user','ak_4f1940ebdd0b9ef6','2023-10-25 10:05:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@example.org','$2b$12$2pzFZ1Ul5hHNE9ChrWhW7JPaxzLC2jS/rvzUHjrt6P47f6gJDLhVO','user','ak_c9e01798fc9c4f24','2023-08-06 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@company.com','$2b$12$CcfcV3zFctfrxpUbf2SfEHRgQhOr1hVHotVZjizkFBMUjn0jFkuLr','user','ak_ae805ac70af36bb1','2023-02-05 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@company.com','$2b$12$pwMXvOh3SDxOv4hyxWSkpgrudhtGn1DHWOE3ZBxlnL0FghOwITtUC','user','ak_a6f0cccec8e610a7','2023-10-13 10:22:00',NULL);
INSERT INTO `users` VALUES (5,'root@internal.io','$2b$12$AowQMoE0DVc7e4/9FMcOnORKufibLmhfrO01pLXzLgvFNIWVmtAtw','user','ak_9d66edefcca3e691','2023-11-14 10:02:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@corp.net','$2b$12$v.PWk5EzUyFt3h8xoUPjJuC4IxHqPET9iqG.5VhZnThLudlFxi6xR','user','ak_fee22856ce1b4a4a','2023-12-20 10:01:00',NULL);

