-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.sql
46 lines (44 loc) · 1.08 KB
/
schema.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
create table if not exists persons (
id integer primary key autoincrement,
pid integer not null,
first text not null,
last text not null,
email text not null,
gender text not null,
birth text not null,
department text not null,
institution text not null,
state text not null,
country text not null,
degree text not null,
profile text not null,
topic text not null,
talk_title text,
talk_abstract text,
talk_authors text,
talk_affiliations text,
poster_title text,
poster_abstract text,
poster_authors text,
poster_affiliations text,
unique(pid)
);
create table if not exists ratings (
id integer primary key autoincrement,
pid integer not null,
reviewer text not null,
position integer not null,
institution integer not null,
distance integer not null,
topic integer not null,
equality integer not null,
unique(reviewer, pid)
);
create table if not exists abstracts (
id integer primary key autoincrement,
pid integer not null,
reviewer text not null,
abstract integer not null,
english integer not null,
unique(reviewer, pid)
);