fix: migration

This commit is contained in:
Gregor Kleen 2019-09-20 09:20:52 +02:00
parent 7afd569eaa
commit 4383eb1359

View File

@ -17,11 +17,11 @@ Course -- Information about a single course; contained info is always visible
deregisterUntil UTCTime Maybe -- unenrolement may be prohibited from a given date onwards deregisterUntil UTCTime Maybe -- unenrolement may be prohibited from a given date onwards
registerSecret Text Maybe -- enrolement maybe protected by a simple common passphrase registerSecret Text Maybe -- enrolement maybe protected by a simple common passphrase
materialFree Bool -- False: only enrolled users may see course materials not stored in this table materialFree Bool -- False: only enrolled users may see course materials not stored in this table
applicationsRequired Bool applicationsRequired Bool default=false
applicationsInstructions Html Maybe applicationsInstructions Html Maybe
applicationsText Bool applicationsText Bool default=false
applicationsFiles UploadMode applicationsFiles UploadMode "default='{ \"mode\": \"no-upload\" }'::jsonb"
applicationsRatingsVisible Bool applicationsRatingsVisible Bool default=false
TermSchoolCourseShort term school shorthand -- shorthand must be unique within school and semester TermSchoolCourseShort term school shorthand -- shorthand must be unique within school and semester
TermSchoolCourseName term school name -- name must be unique within school and semester TermSchoolCourseName term school name -- name must be unique within school and semester
deriving Generic deriving Generic