-- Host: db-master-2.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=12707;

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

INSERT INTO `users` VALUES (1,'admin@example.org','$2b$12$FHUOT.C18qhl9HJDkgJ.ZDKBweSz2GfHfwOIJHMbD83Eemkyo63II','admin','ak_eca0812c24004989','2023-09-20 10:05:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@example.org','$2b$12$5uT8duAllzeHu51YQkUoq.dbqlvVlwSj1xPtRMU1MGLoK.d/4txW3','user','ak_a183d64ccd7f9082','2023-05-09 10:07:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@corp.net','$2b$12$Cl92hff9SdQcbxWnOrf0YHSnQTyLEn5KJi5Yvhi3zrsHID2iMAe7X','admin','ak_30f48ce2d7940831','2023-01-26 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@company.com','$2b$12$0prIo7/r2AbNtWNbZUxC4G4qit0/UYKqePh0ozjPr8hFkH6Gj7ny2','user','ak_4be8991e37763c13','2023-02-13 10:13:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@example.org','$2b$12$GbD3c/.KRFlpzwDDhMUXiB0HZhlcLQo7wU9ddl.HAXjawOuWHhFr9','user','ak_c2cb66faa4358c50','2023-05-05 10:18: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=4705;

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


