get the whole friends system to work now
This commit is contained in:
parent
342fd30d62
commit
126acf52f3
34 changed files with 1101 additions and 40 deletions
7
drizzle/0006_gifted_machine_man.sql
Normal file
7
drizzle/0006_gifted_machine_man.sql
Normal 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
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue