mentorenwahl/docker/backend/src/backend/db/vote.cr
Dominic Grimm 5bc10f8aaf
Some checks failed
continuous-integration/drone/push Build is failing
Added worker
2022-01-23 09:12:57 +01:00

13 lines
204 B
Crystal

module Backend
module Db
class Vote < Granite::Base
table votes
belongs_to :student
has_many teacher_votes : TeacherVote
column id : Int64, primary: true
end
end
end