commit
0dff655be2
@ -1,4 +1,4 @@
|
||||
json.count @count
|
||||
json.videos @videos do |video|
|
||||
json.partial! 'users/videos/video', locals: { video: video.video }
|
||||
json.partial! 'users/videos/video', locals: { video: video }
|
||||
end
|
@ -0,0 +1,6 @@
|
||||
class AddDeleteStateToVideo < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
add_column :videos, :delete_state, :integer
|
||||
add_index :videos, :delete_state
|
||||
end
|
||||
end
|
Loading…
Reference in new issue