Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bsaikiran618 committed Sep 18, 2021
1 parent 99b7ac1 commit 7f29b63
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7f29b63

Please sign in to comment.