From fc755edadf6c251b0eef27fb2236cd94908f7adf Mon Sep 17 00:00:00 2001 From: Theis Gaedigk Date: Sat, 27 Sep 2025 23:06:21 +0200 Subject: [PATCH] fixed scheme --- backend/scheme.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/scheme.sql b/backend/scheme.sql index 505c1b6..e7d9c81 100644 --- a/backend/scheme.sql +++ b/backend/scheme.sql @@ -63,8 +63,7 @@ CREATE TABLE `apiKeys` ( `apiKey` int NOT NULL UNIQUE, `user` VARCHAR(255) NOT NULL, `entry_created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP, - PRIMARY KEY (`id`), - UNIQUE KEY `apiKey` (`apiKey`) + PRIMARY KEY (`id`) ); INSERT INTO `items` (`item_name`, `can_borrow_role`, `inSafe`) VALUES