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 );