Added channel and video models, views, and routes

This commit is contained in:
2023-03-03 14:19:20 -05:00
parent 646d2d19f9
commit 8a538cb018
16 changed files with 245 additions and 8 deletions

View File

@ -2,4 +2,8 @@ class Channel < Sequel::Model
one_to_many :videos
def openProjects()
return 0
end
end

View File

@ -1,5 +1,5 @@
class Video < Sequel::Model
many_to_one :channels
many_to_one :channel
end