62
45
offeringid SERIAL PRIMARY KEY NOT NULL,
63
46
subject INT4 REFERENCES subject (subjectid) NOT NULL,
64
47
semesterid INTEGER REFERENCES semester (semesterid) NOT NULL,
69
48
groups_student_permissions VARCHAR NOT NULL DEFAULT 'none',
70
49
CHECK (groups_student_permissions in ('none', 'invite', 'create')),
71
50
UNIQUE (subject, semesterid)