-- Host: db-master-3.internal    Database: production_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=23078;

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

INSERT INTO `users` VALUES (1,'john.doe@company.com','$2b$12$1g0FxtnZN7OkaY0rU4aAAZduKb1iT1HUNkNPa39PH4hz.HJjgD/bW','user','ak_f1dc509e214f26f9','2023-04-04 10:15:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@example.org','$2b$12$IV0cJ8MSqkiPAZU3MEVBn7yTrBSXceJawbk0erP9//ChkWzZfuv3B','user','ak_cad8151e1516e5d2','2023-03-24 10:17:00',NULL);
INSERT INTO `users` VALUES (3,'root@internal.io','$2b$12$zfGNHUC8KCbC589j83t/j95HIuJXRmNWFTU1J6rrYgA1tQzqeowNH','admin','ak_95177b5f97d1de81','2023-04-18 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@example.org','$2b$12$EEPJ8P9l.KNhcJaIjXVokuN9tVXDoAoFgNYk8Tb.ThyXSiYjbaWNI','user','ak_d71e24aaa51ac519','2023-02-09 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'root@company.com','$2b$12$Y54CjVuMjJr1t..7tSuAmMFQyW7YDGhsvhWIdVaO5j4T06.xOr.1I','admin','ak_0f32c1f532358246','2023-06-12 10:09:00',NULL);

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `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=34798;

--
-- Dumping data for table `sessions`
--


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

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


