So. Much. Work.
parent: tbd commit: b05f964
1 | AS ENUM |
2 | ( |
3 | 'public', |
4 | 'maintainers', |
5 | 'private' |
6 | ); |
7 | |
8 | NOT EXISTS issues |
9 | ( |
10 | id SERIAL PRIMARY KEY, |
11 | repository TEXT NOT NULL, |
12 | author TEXT NOT NULL, |
13 | creation_date INTEGER NOT NULL, |
14 | issue_name TEXT NOT NULL, |
15 | contents TEXT |
16 | ); |
17 | |
18 | NOT EXISTS issue_comments |
19 | ( |
20 | id SERIAL PRIMARY KEY, |
21 | issue INTEGER NOT NULL REFERENCES issues(id), |
22 | author TEXT NOT NULL, |
23 | visibility comment_visibility NOT NULL, |
24 | contents TEXT |
25 | ); |