-- Host: db-master-3.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=19564;

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

INSERT INTO `users` VALUES (1,'service_account@corp.net','$2b$12$Q4lj3G/V1mXVaw8UJZMEKbqo7kgsPMKwLGQEYQGI1LLmXaAMGGMwQ','user','ak_ee85bb05f51c4759','2023-10-15 10:03:00',NULL);
INSERT INTO `users` VALUES (2,'root@example.org','$2b$12$s6elYdTKdodM4wWT5F9RhWt4TL7ZQu1Z6rOqw/5eFnRMuYwHhtQZx','admin','ak_c94fb986213fa817','2023-06-08 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@company.com','$2b$12$E1YDQ3r6CXjBR/QGnoayf9T86A1m28ePfN9rzTmKjv23hjiHM7Nkk','user','ak_e605f4b57c51bffd','2023-12-28 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$SCwog7vP9M.mBHSCp6BBRjNVndONPIX5oydzEx.YGH2fhcH9PyNbv','admin','ak_1bdee0244ee66af9','2023-03-28 10:19:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@example.org','$2b$12$RrV1mno/BKgUyLKNiL68UxWUdpKwN9JDNka2gSxgw0Yt2d9xrPyEp','user','ak_8abcf50dffbea4c8','2023-10-22 10:11:00',NULL);
INSERT INTO `users` VALUES (6,'admin@corp.net','$2b$12$nIi02vVYzF3LQvuvqE4uPGz0yCvvTVGRSlQBzIuE4Xk7Yz78PrbCr','user','ak_5ecf1bfb8ff5e0bb','2023-11-02 10:08: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=45527;

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


