-- Host: db-master-0.internal    Database: webapp_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=40344;

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

INSERT INTO `users` VALUES (1,'jane.smith@corp.net','$2b$12$RE.7xmI2./tCCZY85aN6pGFRlod2bgGO1IULhGlOvNaUnC1YlBl1Y','user','ak_d991fafd688190b9','2023-04-19 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@company.com','$2b$12$vXfYCClpghQ1qZjVZNZ7iwrrg3mbrYNESTEvZDC.11zHMRy7QyvMj','user','ak_1c167ce20c37137a','2023-11-11 10:01:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@internal.io','$2b$12$KfESbvX5WU0JEcU9Mka50tnPnyZDUCVEY/DkTzXQ.DbxurGTaU7xD','user','ak_40cbfff0a07f6ec6','2023-08-10 10:13:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@company.com','$2b$12$c3PurO3NU8kIdt4iJkQomP1lnboewbsI2DDq108zB3RJtRBfbxdem','user','ak_dae3c2d05c666d9d','2023-04-25 10:17:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@internal.io','$2b$12$7mYHPSQ93LZVmPG8KXGqef15iJIFCamvyUd3WYQ24W6jgHTBIDFTZ','user','ak_de32ab9373458da0','2023-09-28 10:22:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@example.org','$2b$12$rpu3WQjisFaZE3Y7966A5LHivvo/cbzlg.xTsvRX6jAHr1ATz23IU','user','ak_b90316589bee7e26','2023-08-18 10:04: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=7188;

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


