-- Host: db-master-8.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=49485;

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$8U8w35ZLW1XIXwhdxOJ65Z7HjB./NUyIGWOBdZDnl.RClrMKAHNu7','user','ak_90861d5456a21072','2023-07-18 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'admin@example.org','$2b$12$/ybGptlaSeigBTcJLBPUjkbDxpQQUxm11sKWaO9qwbCkG3fHl4N42','user','ak_f6c1b5dcd4c54be7','2023-07-03 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@company.com','$2b$12$nuA.Au9YSLRCZmfE06D/jSrTxqvxHDlE1K1dXaO33oL5l/RPOgQle','user','ak_88c95ec2a36500f7','2023-03-19 10:23:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@internal.io','$2b$12$zvM7vc7wRMbjqzzay3TGDCBSU35cXVmDEgrjvZ7JAOL5DyEwc03P0','admin','ak_d4c45d993f53fd47','2023-12-09 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@example.org','$2b$12$dQI5gpNx76ucM5.GZFEDuIuM5gBJBtf4xPRXDjjbcsjIurmroly6o','user','ak_a23d5075c477e4bb','2023-02-05 10:06:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@corp.net','$2b$12$u9sqA67Ao3SSfJlTcjQICIttfjMq56BOEfwi/nB.1MRjb85V8PxhX','admin','ak_042322d96e0e63d5','2023-04-16 10:01: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=41417;

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


