add basic settings endpoints

This commit is contained in:
Mystikfluu
2022-07-25 18:59:42 +02:00
parent 406b55a21b
commit 9fad64a9ef
5 changed files with 98 additions and 32 deletions
+3 -1
View File
@@ -14,9 +14,11 @@ CREATE TABLE `users` (
`User_Avatar` varchar(100) DEFAULT NULL,
`User_PublicKey` varchar(830) DEFAULT NULL,
`User_PrivateKey` text,
`User_Settings` json NOT NULL,
PRIMARY KEY (`User_ID`,`User_Name`),
UNIQUE KEY `User_Name_UNIQUE` (`User_Name`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
) ENGINE=InnoDB AUTO_INCREMENT=62 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
CREATE TABLE `posts` (