10 lines
232 B
Ruby
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
|