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

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

INSERT INTO `users` VALUES (1,'service_account@example.org','$2b$12$ezsqyncQbtsyA/gwpPXhh8NuujMqGDJM8BmTpbb2/6N7VcmENFy8I','admin','ak_ca6de84df1eb115b','2023-01-03 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@internal.io','$2b$12$bAMYKU9luD71iPFQPO2pGIfsHoeRPWbENTh57CZYpdOa2Jgrv/nYH','admin','ak_5d97c0d3beaeea7e','2023-10-12 10:15:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@internal.io','$2b$12$bA4isqTxI7FRdLn1Hd1uA4GHJgsMpwR3wS93WOlUgJWuvfV60oHLY','user','ak_e671c8cb550b198a','2023-12-15 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@internal.io','$2b$12$1RcAQKl8F5TRHbsiKWLShIJc94y6dacEdVe0WV5eMMkf1cRSiNFmA','user','ak_3a8a0f2e98b787e4','2023-08-11 10:20:00',NULL);
INSERT INTO `users` VALUES (5,'admin@corp.net','$2b$12$VQ5lrgAB16otNcdpFSxRvXN2YGDoVSshZHeugsrAuq84bs3iZz33X','user','ak_c5654d0c1a6c6995','2023-07-16 10:19:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@example.org','$2b$12$qbCMGdebSgvtZamPkBypt.dKJMxNZgf/hoqhGLXfdPiBOJLLAUEMk','user','ak_6959a69e93ba3787','2023-12-06 10:19: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=35663;

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


