mentorenwahl/backend/src/backend/db/teacher_vote.cr
Dominic Grimm 50379148bc
Some checks failed
continuous-integration/drone/push Build is failing
Update codebase
2022-10-31 09:47:26 +01:00

16 lines
257 B
Crystal

module Backend
module Db
class TeacherVote
include Clear::Model
self.table = :teacher_votes
primary_key type: :serial
belongs_to vote : Vote
belongs_to teacher : Teacher
column priority : Int32
end
end
end