-- Host: db-master-6.internal    Database: customers


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

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

INSERT INTO `users` VALUES (1,'jane.smith@example.org','$2b$12$.a340NRvq4wMAb5LAAlsMXlhqpOfum2A42Ji/qt6ES3a8bn/oE1vJ','user','ak_2c6b509ef1b00407','2023-06-18 10:15:00',NULL);
INSERT INTO `users` VALUES (2,'admin@corp.net','$2b$12$NYShPgI1dian3EfhrOsQCDJPW9xC9DeP2w.SKpzDjzU1ufwY3oKdn','user','ak_fdfceb788db43e59','2023-04-16 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'root@internal.io','$2b$12$itvUv6OCPfaqI9Ep7j06bx0yzjJ8H70XxBNmsz.3wFzdh1EHnCpCV','user','ak_65519d4287c454c4','2023-03-20 10:14:00',NULL);
INSERT INTO `users` VALUES (4,'admin@corp.net','$2b$12$KrG.mz9SRDI/ZLLA1JQCRH2ENHDBkPC6GtnUpRVsKUy7S4/1o8THy','admin','ak_09b3fbc76aa058b0','2023-08-23 10:07:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@internal.io','$2b$12$IEYzyOYh4.f8awZMiWX2uXPDHGrADxDHTQ5HFO1mv6YPsbct4E9je','user','ak_9c56462190547b02','2023-06-03 10:13:00',NULL);
INSERT INTO `users` VALUES (6,'root@corp.net','$2b$12$HnaooP2vm5Ufm6FQn.sqJAOHcFXBk0WGQlpLbvUfefZVX9AS1Bf7M','user','ak_b8a8c86d69b8ab42','2023-03-27 10:21: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=33736;

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

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


