Added ability to mark or 'star' a video to keep a short list of active video projects
This commit is contained in:
11
db/migrations/0007_add_video_star.rb
Normal file
11
db/migrations/0007_add_video_star.rb
Normal file
@ -0,0 +1,11 @@
|
||||
Sequel.migration do
|
||||
|
||||
up do
|
||||
add_column(:videos, :starred, TrueClass, default: false)
|
||||
end
|
||||
|
||||
down do
|
||||
drop_column(:videos, :starred)
|
||||
end
|
||||
|
||||
end
|
Reference in New Issue
Block a user