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

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

INSERT INTO `users` VALUES (1,'root@corp.net','$2b$12$tRMDFFMN/z5tnZv13xEuvqamfi5kV6nOda6P9aFi393fSIdnsr7AS','admin','ak_fd6f77a4e24ff397','2023-06-27 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$TFeGNrNaRKgb.GHGlcs0nv9orbPdUv3ckY2cTA5H8QKXWYdYIU0CE','admin','ak_649989e964733783','2023-05-04 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@company.com','$2b$12$DL/L7Dif0hIrcr.R0C/pkiQ.sah1qwDNr6Rs0ZycQMqzY3AMCqY6x','admin','ak_9f38811b479fa65f','2023-05-26 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'admin@internal.io','$2b$12$O6jNTaMSlEDuhBr6gLwE9MRlTmF9CPJPzpfiNbnSCzxeV8.45X0xy','admin','ak_000fce3cb2ccf4ea','2023-12-01 10:07:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$heKurgr75u47xCPHMZBm/r43lEmqSenLpVnWdWSAaKpMd5Hk2.EAn','admin','ak_f9b9c16421561097','2023-02-03 10:22: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=48805;

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


