The event is not required for the existence of a slot

This commit is contained in:
Petko Bordjukov 2019-04-28 02:42:09 +03:00
parent c073cf56ca
commit e6b16ed1ae
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
class Slot < ActiveRecord::Base
belongs_to :hall
belongs_to :event
belongs_to :event, required: false
end