-- Host: db-master-3.internal    Database: production_db


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

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


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

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$362NdI8KsEZHaspW94EqRZE4Tb0i7L/kXI3CgnPxwo3lDBGe7V/.8','admin','ak_0a08ab93af493dd5','2023-02-16 10:05:00',NULL);
INSERT INTO `users` VALUES (2,'admin@example.org','$2b$12$.fGiCpdnFxs/u/cu.pEYSXnCB1ph1lDKRuCgaz8JaKJq07cFRjEPU','admin','ak_b979d61768c037cf','2023-11-02 10:23:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@example.org','$2b$12$xnIOoeT.z8ryLzfsXqripJprJO2BsVtADRZoFugUaZzI/ueYfGJpg','user','ak_a3d616a5252814db','2023-03-05 10:03:00',NULL);
INSERT INTO `users` VALUES (4,'admin@internal.io','$2b$12$rXqZh9k/zaUbrhfov.u/P.Lnm285YwZMptOY7fOhjtqxMuyUwQ72P','user','ak_57eb38992ca202a1','2023-01-27 10:00:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@corp.net','$2b$12$YMvMv801K58fB2.HG9LuyALRk8DSe5VWqr1aLs8iBL.LBb/LlBAND','admin','ak_190337420bc19f02','2023-08-04 10:08:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@company.com','$2b$12$hKmqaUHyCMuUvk05uH3hFwKX9T0L5Mm8b.2AwlJQmWQZDmjV3/q7.','user','ak_9b66b7c3c7b838fd','2023-02-02 10:13:00',NULL);

