Added channel and video models, views, and routes

This commit is contained in:
gballan committed 2023-03-03 14:19:20 -05:00
1 parent 646d2d19f9
commit 8a538cb018
16 files changed
+245 -8

No files matched your search

+4
View File
@@ -2,4 +2,8 @@ class Channel < Sequel::Model
one_to_many :videos
def openProjects()
return 0
end
end
+1 -1
View File
@@ -1,5 +1,5 @@
class Video < Sequel::Model
many_to_one :channels
many_to_one :channel
end