get the whole friends system to work now

This commit is contained in:
Soph :3 2026-01-04 18:20:04 +02:00
parent 342fd30d62
commit 126acf52f3
34 changed files with 1101 additions and 40 deletions

View file

@ -0,0 +1,7 @@
CREATE TABLE `friendRequest` (
`id` text PRIMARY KEY NOT NULL,
`from_user` text NOT NULL,
`to_user` text NOT NULL,
FOREIGN KEY (`from_user`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE no action,
FOREIGN KEY (`to_user`) REFERENCES `user`(`id`) ON UPDATE no action ON DELETE no action
);