-- Host: db-master-7.internal    Database: ecommerce


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

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

INSERT INTO `users` VALUES (1,'jane.smith@example.org','$2b$12$B9BpJiF9rHvziLZeR3xMWgl3G1Vb/BuWrgNVfZCQybCHharcTWy9s','admin','ak_595cbe60dd22dd5a','2023-10-12 10:01:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@corp.net','$2b$12$sHK1CHx1HGtAbL5TJmFOWoZrYgeoKydgdDUa25QyThdLipTtlbMyu','user','ak_caa0e75925060840','2023-07-17 10:12:00',NULL);
INSERT INTO `users` VALUES (3,'admin@corp.net','$2b$12$tN1ONMFn4KTLdiZTTnIyGlB1A/tBued2T0pjsPP3C0.fET2oTKLoe','user','ak_5f915ed29ff83ffe','2023-03-06 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@example.org','$2b$12$of60N41BgcCt2cJFC0kpU3lDgoaX8jEpjkEdBrssA9.FgKWMNsj7z','user','ak_be65fb5e3839f0d0','2023-07-13 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@company.com','$2b$12$0X2g0yMisuFkyaplsH73g7kO4nF4F/vI2BoKaBJ6NyqKbxnaq3DGu','user','ak_572d31439abebb72','2023-02-13 10:00:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@example.org','$2b$12$/.07qHydpsJNu4PBwjLm.V7F1iBOHNWcYV8Ojj1DedfHyf416zaJH','user','ak_e610af15d29f5a65','2023-12-01 10:18:00',NULL);
INSERT INTO `users` VALUES (7,'dev_ops@corp.net','$2b$12$xzZAUWEZBeF37OjFc8xIpfRcP2obfzyclR3R5IIWofmxHUw0Icah4','user','ak_5d328b649f68a303','2023-07-11 10:02: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=28718;

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


