asciinema.org/db/migrate/20120114195316_change_asciicast_duration_to_float.rb
2012-01-14 21:28:31 +01:00

10 lines
232 B
Ruby

class ChangeAsciicastDurationToFloat < ActiveRecord::Migration
def up
change_column :asciicasts, :duration, :float, :null => false
end
def down
change_column :asciicasts, :duration, :integer, :null => false
end
end