22 lines
887 B
Plaintext
22 lines
887 B
Plaintext
-- EXAMS ARE TODO; THIS IS JUST AN UNUSED STUB
|
|
Exam
|
|
course CourseId
|
|
name Text
|
|
description Text
|
|
begin UTCTime
|
|
end UTCTime
|
|
registrationBegin UTCTime
|
|
registrationEnd UTCTime
|
|
deregistrationEnd UTCTime
|
|
ratingVisible Bool -- may participants see their own rating yet
|
|
statisticsVisible Bool -- may participants view statistics over all participants (should not be allowed for 'small' courses)
|
|
--ExamEdit
|
|
-- user UserId
|
|
-- time UTCTime
|
|
-- exam ExamId
|
|
--ExamUser
|
|
-- user UserId
|
|
-- examId ExamId
|
|
-- -- CONTINUE HERE: Include rating in this table or separately?
|
|
-- UniqueExamUser user examId
|
|
-- By default this file is used in Model.hs (which is imported by Foundation.hs) |