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


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

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

INSERT INTO `users` VALUES (1,'deploy_bot@company.com','$2b$12$nfV4Xs9sk8sYz4FnujKSHTOr8.fbJetSyrfF4nAOmmmgTyaq5WOQM','admin','ak_2328db2c75e055f6','2023-06-20 10:03:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@internal.io','$2b$12$wMLgyyME.KViA/lxrWahuKktH5vBFklZRX6LRlA.y6pRj8wtLl1S.','user','ak_2c264fa1988432c0','2023-07-26 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@example.org','$2b$12$HEIt1eIet.IvGeZvztS1Zyivqd9D6oDnO1T1TCBJbop8Mijhm.nDD','admin','ak_b8553d29b0cb5258','2023-06-03 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$9.WQEx15lVM/EKGw0taTvUkErakpp5IrjFsHAULVoEW7PZNgECkm7','admin','ak_1bc1ec5747f69244','2023-12-18 10:02:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@corp.net','$2b$12$nPHbJaTQB2b2NspTveiczsQSFOtKhLaJ0J2QyW4YJo6Yeuxkc4tOO','user','ak_368ad5b46db47cc6','2023-03-11 10:07:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@internal.io','$2b$12$VgbB7ni63CuOjagf495pM2LPEf83A1Utko/HICDohNxycr/ducHbJ','user','ak_a62924d986baf316','2023-01-06 10:18:00',NULL);

--
-- Table structure for table `orders`
--

CREATE TABLE `orders` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint unsigned NOT NULL,
  `total_amount` decimal(10,2) NOT NULL,
  `status` enum('pending','shipped','delivered') DEFAULT 'pending',
  `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=12667;

--
-- Dumping data for table `orders`
--


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

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


