educoder/db/migrate/20200318181442_add_duration...

6 lines
133 B

class AddDurationToVideo < ActiveRecord::Migration[5.2]
def change
add_column :videos, :duration, :float, default: 0
end
end