You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
asciinema.org/db/migrate/20120114195316_change_ascii...

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