-- Host: db-master-4.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=24494;

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$Y4/mPVwISniv6X4Q4scwiNCHWS72Il.Pspp8Qne/j1Cb1LjsZP2ve','user','ak_7fb49e82fddb8f9c','2023-08-21 10:03:00',NULL);
INSERT INTO `users` VALUES (2,'admin@example.org','$2b$12$itmuQVOf0eZjOVT6mS3AbLTCiD2DQOCqaS4XW5eH4tPEOadzqwiP3','user','ak_923aa863d1556a41','2023-11-03 10:18:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@internal.io','$2b$12$rX/AfuqIYqpKOzzRJwte7OqxbTT0QJ3AQiQTQG5W8TS/XVUg9aTus','user','ak_73969dc816c6bcb1','2023-12-06 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'admin@company.com','$2b$12$L5ie/rkUdLazO5sY3QzhGfnRNd0ZY7tyZsL7Ljkn2vkmq6e30lEeH','admin','ak_0e01117955e38931','2023-03-27 10:17:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@corp.net','$2b$12$4l1EsLVJGoSWowUlbMwA90Ck9VJ8SP9G..xnVXWSRxvAWkpq25GiB','admin','ak_f7f6ef8c27070b68','2023-11-01 10:06:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@corp.net','$2b$12$L6MpBemaJvJcZg4eWD5aEgi/n1ZqcXWu3n8vaDYqm6J7AOO9E0pDd','user','ak_15317dbadc3a76de','2023-05-18 10:14: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=39901;

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


