Added channel and video models, views, and routes
This commit is contained in:
1 parent
646d2d19f9
commit
8a538cb018
16 files changed
+245
-8
No files matched your search
@@ -2,4 +2,8 @@ class Channel < Sequel::Model
|
||||
|
||||
one_to_many :videos
|
||||
|
||||
def openProjects()
|
||||
return 0
|
||||
end
|
||||
|
||||
end
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
class Video < Sequel::Model
|
||||
|
||||
many_to_one :channels
|
||||
many_to_one :channel
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user