-- Host: db-master-4.internal    Database: main_app


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

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

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

INSERT INTO `users` VALUES (1,'deploy_bot@company.com','$2b$12$gVC3z/2DhsajKMoMHCEypoVlonGHZjOI.Gy3F.BOqdLItnItMAvR5','user','ak_164960c6c1df41a7','2023-05-26 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$1PBv/fuQ/x3y61l7gjMlee7bmy99DdGJtkjylImf/Fi6lRUgHrrgt','user','ak_d6431d7f404c41ad','2023-09-26 10:03:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@internal.io','$2b$12$eCMOd.OwkmkJDLR1D/9cPx6wIoLVaAnNoTy31ypsHDT2EfA.abbgT','admin','ak_c3c7959f7361f683','2023-03-14 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@internal.io','$2b$12$98pwGZyYqWaBDX2aJUa2.kJy9B1NmLH0qom2n9hm1ypef9/03/fii','user','ak_5d3f0a9b641d2fde','2023-10-15 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@internal.io','$2b$12$xeB9wvBkDfnx1.y11yIt4FJ5SNMYIlyl0N2aiB.xt35Qu9ISw2fN0','admin','ak_df75921e102d7407','2023-12-04 10:07:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@example.org','$2b$12$dvFL.dQ58Exy/6yF.kn4rj1Bfb8Rlo4KK5.jlsfM0q0Rcbm7k39Rr','user','ak_9513a374f3401638','2023-12-04 10:23:00',NULL);
INSERT INTO `users` VALUES (7,'dev_ops@corp.net','$2b$12$gH3JnYD03ovoBft7vWT3Re/oBbboBBbmdiMXbt1M5efDP9s4S5ZNy','admin','ak_e9efd039d5f570c6','2023-10-28 10:22:00',NULL);

