Added Sequel migrations and models for videos and channels; Fixed database name in Rakefile and defaults config file
This commit is contained in:
1 parent
e731f6c84b
commit
646d2d19f9
9 files changed
+60
-15
No files matched your search
@@ -0,0 +1,5 @@
|
||||
class Channel < Sequel::Model
|
||||
|
||||
one_to_many :videos
|
||||
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class Video < Sequel::Model
|
||||
|
||||
many_to_one :channels
|
||||
|
||||
end
|
||||
Reference in new issue
Block a user