Calendar is shown
This commit is contained in:
@@ -1,2 +1,7 @@
|
||||
class Team < ApplicationRecord
|
||||
belongs_to :company
|
||||
has_many :reservations, dependent: :destroy
|
||||
|
||||
validates :name, presence: true
|
||||
validates :company_id, presence: true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user