-- Host: db-master-0.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=21544;

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$/xmkJj9B16NEWV/9lMqPiVqhPKx7aPiUraC7/zCinzuvp1QtAGRtR','user','ak_9a8ba6a0a11fe016','2023-03-25 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'root@internal.io','$2b$12$idMxsbGGU6dT4uen24/Ba8f6RyTdHNaVjXu1cnjH.gdbyHZU2n0D4','user','ak_6d47fc1860682b5e','2023-09-21 10:07:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@internal.io','$2b$12$/klouZm.GXdg6SuuhlplNBrAHJEwJaAzdS3Knkjh7DzFrAjgHECvS','user','ak_e34525673aaf30ca','2023-03-04 10:17:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@corp.net','$2b$12$Yr4y8RV2vvEYtbsU3m0SPWS3HAsfKVyhMZpNWtpuA4jVoJxF.CgH5','user','ak_395300fccaa0eaf3','2023-06-25 10:20:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@example.org','$2b$12$j8Mu65w1mZXRBkyB5E7HI59UfJZFEmH7jBO97iwEAsPG77S25D0fU','user','ak_1e4807e3b61749a5','2023-03-01 10:11: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=16229;

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


