-- Host: db-master-9.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=17073;

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

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

INSERT INTO `users` VALUES (1,'john.doe@company.com','$2b$12$zWpzC5QrK7CxMJ1qAoCEBMn8QKCKTUothXpEhSmksp/wHJGZDy661','user','ak_1bb69ad0f3403a5c','2023-03-06 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@corp.net','$2b$12$lMDAxMERmunbb0zPsL1T9jHgnOzLlgtKlyv7uTUYlG9Hov2SH7OGQ','admin','ak_b20e6412e5feae45','2023-06-12 10:18:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@company.com','$2b$12$OP.D7xp38x4Qtd.C6Asp0koREYgNOCAytFh5ESxpmEtCWaOcQfiFk','admin','ak_664584085e424ccc','2023-02-02 10:02:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@internal.io','$2b$12$eTqfpC5B8cEJh7JM9fJdNw6ev.sWKNgJA4QQBPeILOPmO9DLcbREZ','user','ak_039e6ba2618a3895','2023-12-02 10:19:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@internal.io','$2b$12$BU6638cXwhurQMVjaiZyfW.AZwmYldlFRJB7tNZXiqUKwm1zzFqo8','admin','ak_96c012f7912864b6','2023-06-20 10:09:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@internal.io','$2b$12$Mp91KEkIenqcFPt9eu2x4Niddg5zLEKn/TxJIctE/VOUNa8I2h.j3','admin','ak_879163b22ab6254d','2023-09-09 10:03:00',NULL);
INSERT INTO `users` VALUES (7,'john.doe@internal.io','$2b$12$UWTnKa/bl8SB0rg7sSCLaM77z3ztPvckfGoERFsss263L59eUIlld','admin','ak_8f54d08b231c415c','2023-09-05 10:11:00',NULL);

