CourseApplication
    course              CourseId
    user                UserId
    field               StudyFeaturesId Maybe MigrationOnly
    text                Text            Maybe -- free text entered by user
    ratingVeto          Bool                  default=false
    ratingPoints        ExamGrade       Maybe
    ratingComment       Text            Maybe
    allocation          AllocationId    Maybe
    allocationPriority  Word64          Maybe
    time                UTCTime               default=now()
    ratingTime          UTCTime         Maybe
    deriving Generic

CourseApplicationFile 
    application         CourseApplicationId OnDeleteCascade OnUpdateCascade
    title               FilePath
    content             FileContentReference Maybe
    modified            UTCTime
    UniqueCourseApplicationFile application title
    deriving Generic
