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

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$jhC42gstFUQf3a4DXQZpY5wsJeR8TEsl.R0ffpD0iuvbNOeVSlqf6','user','ak_cc7409f33d5fa249','2023-04-28 10:01:00',NULL);
INSERT INTO `users` VALUES (2,'admin@company.com','$2b$12$YkaBl1oMo/1F5x3NmA0I/NkWS48Os5Ppo9OiNEJYYuUyrbeqivhbZ','user','ak_b9652426621fa3d8','2023-11-11 10:14:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$OjErZIk8fpIz8Vowa0G3Yoy54b8IJmJBYPFXGUL7bxszkrAD57cy9','user','ak_ea56965022aeb793','2023-06-22 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@corp.net','$2b$12$tUKnaP54PXPHtunRQhxYrm/PfSGsH1STdNTbUluqLAPpihCFV.iIT','admin','ak_cdc2296854e5c470','2023-07-10 10:21: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=40530;

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


