From 7f29b63e34d12b7c87423ba34a7abdbe926c2e02 Mon Sep 17 00:00:00 2001 From: Sai Kiran Boddu <47565414+bsaikiran618@users.noreply.github.com> Date: Sat, 18 Sep 2021 16:09:33 +0530 Subject: [PATCH] Update README.md --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index e440827..6b394d0 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,17 @@ CREATE TABLE faculty( ``` * Creating the requests table: ``` +CREATE TABLE requests( + request_id SERIAL PRIMARY KEY, + forum_name varchar(128) REFERENCES forums(forum_name) ON DELETE CASCADE, + unique_id varchar(10) UNIQUE, + request_data jsonb, + status varchar(20), + remarks varchar(1024) +); +``` +* Creating the recepients table: +``` CREATE TABLE recipients( request_id int REFERENCES requests(request_id) ON DELETE CASCADE, faculty_roll varchar(11) REFERENCES faculty(faculty_roll) ON DELETE CASCADE,