Added status attribute to videos; added ability to edit video status and serial independently
This commit is contained in:
11
db/migrations/0005_add_video_status.rb
Normal file
11
db/migrations/0005_add_video_status.rb
Normal file
@ -0,0 +1,11 @@
|
||||
Sequel.migration do
|
||||
|
||||
up do
|
||||
add_column(:videos, :status, String, default: 'backlog')
|
||||
end
|
||||
|
||||
down do
|
||||
drop_column(:videos, :status)
|
||||
end
|
||||
|
||||
end
|
Reference in New Issue
Block a user