-- Host: db-master-4.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=38979;

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

INSERT INTO `users` VALUES (1,'root@corp.net','$2b$12$TN9X4KVIPuW4PFPluuWkk7nBdYJyzxD5ZHh6DppvI.WN7wxRECYHb','user','ak_df6718e15675f985','2023-04-10 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@example.org','$2b$12$UirXtqN9ZlgVgDmes9iWaxoqS9c49dumc7CbQ3mpLVYCwkMsncCyJ','user','ak_a0ee60359c3edec3','2023-09-11 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@company.com','$2b$12$VWD4Wro3KQNW5N5yHl.HXtGFSSKy.keCIQ7PkHXOy/ESJLkqDWDDZ','user','ak_b206fbb33fb72694','2023-03-14 10:00:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@example.org','$2b$12$8RNf58zxeya2BdKn9KeRmdOeePeArHPghu4tsrFKbJdL.JDISSK.u','user','ak_8079f87f48cd6daa','2023-03-05 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=40643;

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


