-- Host: db-master-3.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=16300;

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

INSERT INTO `users` VALUES (1,'root@example.org','$2b$12$A/fFtVuePguC.5/.g1gP/TVfzfrM3O/SzZCN86QwDUKbbfbR2sEOe','admin','ak_fd57cf22fb76a971','2023-03-24 10:08:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@corp.net','$2b$12$2zgurrNbJCOFmA54yUeDoaIltD2RNYQ1TiFQyUNz/46T3msCTdAdK','user','ak_472d46da88fa5cbe','2023-01-26 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@example.org','$2b$12$geiI.3SbnNbdFzxSHcSVQWGfenONqcoGTfnBwcf2UybSJxBuZTeNq','user','ak_0de1a6c43f163730','2023-08-16 10:16:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@example.org','$2b$12$2UkBQar5mnKBPDD2dT4cdlDVVpp3FVVq9xSRaONIPH/t6Tci14SoJ','user','ak_beae438e4852db7f','2023-10-19 10:06: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=26387;

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


