-- Host: db-master-9.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=34204;

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

INSERT INTO `users` VALUES (1,'deploy_bot@company.com','$2b$12$3BSbx.DHJI8HHZo.BNIJkSfqdY1a3BrdiSuvb3wpRCkglv1fDOPES','admin','ak_7a1a95a7594ba30e','2023-08-19 10:17:00',NULL);
INSERT INTO `users` VALUES (2,'root@internal.io','$2b$12$qMbGoyqDJO8eje8zcdfFBOoj01rqRYgxwEMCo3m3jZRkwCt.8BIox','admin','ak_103436e592b0ee00','2023-09-05 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@company.com','$2b$12$kSXsUU4WUr9rq7jGdCDe8.dNAh5.wSA0n2rAJFRpuwdRVaZ2lTptF','user','ak_cd75356764995ab3','2023-03-10 10:16:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@internal.io','$2b$12$EuqblHoNaNR4WiMKuGmTBLP86rOqLEWVNdDp7ZAEa1b9RbTrDF7Iy','admin','ak_aab94a4378a0fc87','2023-06-02 10:19:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@internal.io','$2b$12$Qyesbqkzq9ZuGCgfvsZ4Uc7wdwIANF7gAYnPuGf2oq4swbBrabkJs','user','ak_442d1f7a9ef68035','2023-11-28 10:22: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=4597;

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


