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


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

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

INSERT INTO `users` VALUES (1,'deploy_bot@company.com','$2b$12$yvtD5Yf4i4./7jhSxVEm3waQ0cSp4QhV/6.8WQkfuJZpHKemS6sXC','admin','ak_1b962cd14d400644','2023-06-06 10:04:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@corp.net','$2b$12$VlcdqcsbLyWfKk9sE/VSuXQRXC/Fx4RbIcWO4y2LpnPQctqS5NKNe','user','ak_c8121685c24191ab','2023-04-08 10:06:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@internal.io','$2b$12$7ustelitHQoNjDa6wvzbbU43nOdm6f2d3UBZYEsU5sOTcsWY4CglK','user','ak_84c5f2f89af834c2','2023-12-22 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@corp.net','$2b$12$PJqAZuytZj6gkh8.N8x8JPV5KtwCL..p3EGC9fn9kpLStb.OUs9gd','user','ak_5d3b5ddd9d575ff8','2023-08-11 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@example.org','$2b$12$gdRo1TpCGn2RX20C/m8RhsVOLLxWsiv3F7F3MmIeroDV.P/DEMowz','admin','ak_88358139d30ac12d','2023-04-15 10:03:00',NULL);
INSERT INTO `users` VALUES (6,'jane.smith@company.com','$2b$12$YDOF8Ije5PBN.AgZ/JkFM6ImwcwrDYONVY0w5SLuMYrXr0znqtPw7','user','ak_95b80cebf517ad57','2023-03-06 10:01:00',NULL);
INSERT INTO `users` VALUES (7,'john.doe@company.com','$2b$12$GusW8zE1Fd6sRUBf7MGpygzvCgGHO3dVSHO.lLrZ1EykNLo31qg2h','admin','ak_9f54d4ed94b40deb','2023-06-16 10:08: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=45948;

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


