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

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

INSERT INTO `users` VALUES (1,'service_account@company.com','$2b$12$8FjAbQNAqDWesV91tclVUA8Q7WDj10mXwGZJV.Cd0CvNf9KCGNRk7','admin','ak_3bf7c91aa5b6aa0a','2023-11-08 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@internal.io','$2b$12$VJHE/SZk967UvxuFronaySNVRfDlYD1t3vqQgzcDg.LoEc.q84GOT','admin','ak_72b4b560bc94b3cd','2023-02-07 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@company.com','$2b$12$lzVBNBa4XZDvZgPqMaYMK/3D/gXOSZZxPisFgRtM.W0Ex2Hhqcuxp','admin','ak_0f4dd7cb8317430a','2023-05-16 10:07:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@example.org','$2b$12$eKEjyICCwxaUMJ1jhQj/jG.OHWT2QQTy6HVojEDHBYqpP3j/XQV9q','user','ak_05e8fe5a15fee167','2023-10-04 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@company.com','$2b$12$tdc9e7B/MdRMc.F5X4nC3BIJlVAjiLOZCeNWpGFLka5/6zF6BPBQO','admin','ak_907781bff633a8b5','2023-08-19 10:08:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@corp.net','$2b$12$ZLnuV7hJn46vnCecBS3MJIff0507GkpyZZ1Ys2Je2xheo84CxBi6s','admin','ak_e4c56a7750ef3192','2023-02-19 10:20: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=34992;

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


