Video relationship changed

This commit is contained in:
Adrian Hinz 2019-05-16 10:43:09 +02:00
parent 8dfcbe28bc
commit 1e9e418848
1 changed files with 18 additions and 1 deletions

View File

@ -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