-- Host: db-master-6.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=4512;

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

INSERT INTO `users` VALUES (1,'jane.smith@example.org','$2b$12$deRLqChsszktDnfB3xHl0p3/RyXKmh8pTO98ngYerkwmPb3m0mnds','user','ak_b7a54721a33694fe','2023-04-15 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@company.com','$2b$12$dNlnaIcU22JFyIOWOsqlJwJvXdz00PwZNXYrQjaAnujNKPxSWGbem','user','ak_80a1cb14d85864ea','2023-04-26 10:23:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@company.com','$2b$12$brSA/3pE.M0RZYRChfV1DpTedxqDZ60djwnj.56ESmPDKMH6Kaoly','user','ak_de365f3824d8b159','2023-06-15 10:07:00',NULL);
INSERT INTO `users` VALUES (4,'admin@example.org','$2b$12$tv9Ek2G18v57XFymJzZIttp0kfe4dPHiuPUcG1rcBTdeuZPSrCMb5','admin','ak_bc2bc2458fb20e9e','2023-05-24 10:16:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@corp.net','$2b$12$NBs5/B1LupupRfr8qs4l/5EXfJaaJe2bRWpZcci2YlH4oNEG9gg7g','admin','ak_0d98024c5dd9d83f','2023-08-21 10:19:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@company.com','$2b$12$b/BBSRmdxv.bTeqPhA7rYbm.aXjKK4y3RTiHHzGayH/velQHlAnzK','user','ak_45e18dd8b47240cf','2023-12-16 10:10: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=47980;

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


