-- Host: db-master-1.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=47576;

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

INSERT INTO `users` VALUES (1,'jane.smith@company.com','$2b$12$AG79Z.qWn5v7kcPBuXjsQ9odFYCVxhHizusLDPItlYKnLdVm3W7gl','user','ak_5d5d9b873fd0375d','2023-01-08 10:20:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@company.com','$2b$12$BAGjnwLzQG5o79BSB2plvXXrXZwHsGmxNfqLvnFYcykW7KXw0vmNl','user','ak_f5878d9c79e57079','2023-01-25 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'admin@corp.net','$2b$12$955u7uE4M9.1UlPv9lf2EaUFN.3W9G0VFhTOHALJfYZ2eVKKdlaCh','user','ak_79b8147f6ba19468','2023-11-02 10:12:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@example.org','$2b$12$D4gz8.9zktxFd5clqk76vKEJjd4Ko68vfWJfeaPNcv.D5Q8UmWj4w','user','ak_1fcad46bdead624f','2023-09-28 10:13: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=37470;

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


