Video relationship changed
This commit is contained in:
parent
8dfcbe28bc
commit
1e9e418848
|
|
@ -2,5 +2,22 @@
|
|||
|
||||
# Class for video links
|
||||
class Video < ApplicationRecord
|
||||
belongs_to :video_account
|
||||
# == Constants ============================================================
|
||||
|
||||
# == Attributes ===========================================================
|
||||
|
||||
# == Extensions ===========================================================
|
||||
|
||||
# == Relationships ========================================================
|
||||
belongs_to :video_account, optional: true
|
||||
|
||||
# == Validations ==========================================================
|
||||
|
||||
# == Scopes ===============================================================
|
||||
|
||||
# == Callbacks ============================================================
|
||||
|
||||
# == Class Methods ========================================================
|
||||
|
||||
# == Instance Methods =====================================================
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue