fixed scheme

This commit is contained in:
2025-09-27 23:06:21 +02:00
parent 0fca896cc2
commit fc755edadf

View File

@@ -63,8 +63,7 @@ CREATE TABLE `apiKeys` (
`apiKey` int NOT NULL UNIQUE, `apiKey` int NOT NULL UNIQUE,
`user` VARCHAR(255) NOT NULL, `user` VARCHAR(255) NOT NULL,
`entry_created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `entry_created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`), PRIMARY KEY (`id`)
UNIQUE KEY `apiKey` (`apiKey`)
); );
INSERT INTO `items` (`item_name`, `can_borrow_role`, `inSafe`) VALUES INSERT INTO `items` (`item_name`, `can_borrow_role`, `inSafe`) VALUES