-- Host: db-master-1.internal    Database: main_app


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

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

INSERT INTO `users` VALUES (1,'john.doe@corp.net','$2b$12$wuj5KjVBQ0II0DPYGoLKROPL0nP4W6GlKuWqJjzS8TDBEMoln.pOA','user','ak_bf657e39dfc7d7a2','2023-05-08 10:20:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$dFRpBHnwYYDXDsihTXgDL7ddVt/QOf9wlwzmKn1i/PEgwrX/XyAbx','user','ak_e9ab92696479cb5e','2023-12-16 10:23:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@example.org','$2b$12$mS6zOWwzC0yZKbf92AqX7ESWH43wisPBPge/8EI7banNS.wvyjWDG','admin','ak_19372c803cc9acec','2023-03-11 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'root@company.com','$2b$12$eCsjkfZ2xiHAzioTVvq5xPoLPjx9LTtejo96D3IzmzSarxycjul7Q','admin','ak_3609508f885258de','2023-01-02 10:22:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@example.org','$2b$12$bXd1Xt.m4ihnMYUd53k.E3Mb.cK6GPozJtfguBZaOVr7H5q3XZF.3','user','ak_3f738dfdb4ff5b3b','2023-09-04 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@company.com','$2b$12$18PZyrzDqOfO83HHObtxq6892.wyQj8i9Q.MLIjsI33PLTq7DBv5G','user','ak_625258cf74d429d3','2023-09-09 10:08: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=37604;

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


