-- Host: db-master-8.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=36514;

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

INSERT INTO `users` VALUES (1,'root@company.com','$2b$12$0VCcIbqRZrUQvC8NyWRpjR/AsMPDn7LV8/d8VBKpNuYyhdxHa41Ye','admin','ak_1c9bbd8a376801a4','2023-04-07 10:17:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@internal.io','$2b$12$yOVklLdqRDBVUpyxkJVneaSVWGeFIVx0Bj/RnMs0BRjimNdZD6duR','user','ak_9676181b2acc9439','2023-09-16 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'admin@example.org','$2b$12$Ugd9XbhjIjCIYW39E.YCKZnTZah3SdXPtYKt/e0Y.kdRl3seqcLzd','user','ak_d9edc0fb9fcee116','2023-08-14 10:03:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@internal.io','$2b$12$DA/oCq3moch0rjMpFzyCuL7h.UHX4K2f1qb8lDSUY/uvhJFNqDzxh','admin','ak_58d57dac261c76ff','2023-05-24 10:15:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@corp.net','$2b$12$PO78FwOS1e12.A3as92fpVRQRVL7EO4b1JkCyfUftOEpBaW01UpkF','user','ak_4de5c6e4f8607336','2023-04-24 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@company.com','$2b$12$QzmkVbkVu4w2pYg6RRkhJUDMFcZpsk7Svl2WxshW9hABgR4eMI/Hj','user','ak_c3e2935fb9bbdd4a','2023-06-23 10:02:00',NULL);
INSERT INTO `users` VALUES (7,'john.doe@internal.io','$2b$12$Bkszlok7VDXmMmZXQEn8Ze0qzCIsTXYvnMpNZMeQ0AyKJKLZIxfwc','user','ak_ae67a2bf941823b4','2023-04-09 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=12409;

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


