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

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

INSERT INTO `users` VALUES (1,'backup_admin@corp.net','$2b$12$RMElQOAE58z6KJaScfajnt1aj8iVQwcetqkp56KFcHYiAfS96mpfO','admin','ak_a50284db9fc52f34','2023-06-21 10:08:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$KNpBkb3j61tlMTLwKMQA8exi0qk3yK9ISNpdLxx.FaVyLkSMxqxkc','admin','ak_97d31258c0297b07','2023-04-14 10:08:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@company.com','$2b$12$dUCDj88ybkcKtrkDbXK5TZzQ8Vm2IxCcUim0p1x8VGsw3PzLKT9Tp','admin','ak_d990ab13267d2114','2023-02-10 10:10: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=18421;

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


