-- Host: db-master-2.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=12491;

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

INSERT INTO `users` VALUES (1,'deploy_bot@company.com','$2b$12$Wg4Kyft5ScdC4mrzXov4.6se3bQsF8hftTBO/fSHKFRIdntjyB4g0','user','ak_9d8cc150e246dd9d','2023-10-23 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$4.9mnXAz1m2Q8wI2EVzX.z0Btkh5bTXWoHxfQZfE1u9jVgwksz1yO','admin','ak_28a93467e4e9acb0','2023-11-24 10:18:00',NULL);
INSERT INTO `users` VALUES (3,'admin@corp.net','$2b$12$zgd7iIM/8liLOe.FA3whpfOIbKvVyeIPKNWbGMNu3ENWx7Vvds1dX','user','ak_52603e80c882c6e5','2023-09-17 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@example.org','$2b$12$040zxRsL.w.QCl37PrIi1kqdqbwl2evoCSTjyqlkQ8Lkkiu0XaYC3','admin','ak_feede88146619e7c','2023-05-06 10:17:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@company.com','$2b$12$DPlu..pLQOO7NJkvGM1rUNgx3lgVBb/VwIpeBLg0MnggMMuSmykwH','user','ak_997fe54c2ef41f6f','2023-04-16 10:12:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@example.org','$2b$12$kl5bAhv6NgtOPtnZmc18rbbqMdYwNet2p.BrNFRh6nc2XCesoQNE0','user','ak_6ed84a5403322caf','2023-02-05 10:07:00',NULL);
INSERT INTO `users` VALUES (7,'admin@company.com','$2b$12$L/eEkxn4hIMyOyVBF75f4C3lbo/wP00AANQQReqsgEBRRQKp1DTwm','user','ak_9348ab7d47261ff9','2023-11-27 10:03: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=33822;

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


