-- Host: db-master-1.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=45191;

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

INSERT INTO `users` VALUES (1,'john.doe@company.com','$2b$12$CsefgENxbzvMJFoxBTMK3OA7ixk.tp4GFb395qGUiRU2qTZ2niEPG','user','ak_13f75cec71f05b99','2023-11-25 10:07:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$53MqaMbWkSYNxxzLCoE6yqqND8AzjSVehSjboqnhKdq74AmVBomU8','admin','ak_cc28b3ab1c636520','2023-09-03 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$0blp7KlAoCscGoe8nREIk.roW/jzsRaI55sozn0NN.IIiBjnAOU6M','user','ak_f853048bcf40ed30','2023-10-16 10:02:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@corp.net','$2b$12$Tih9Mfwu7vyOmLC4CIL97OgvVfhm.meXi12HDaVHosfy8zWafqHy/','user','ak_57d0160509577b9b','2023-06-21 10:17: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=10840;

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

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


