Duration should be float
parent
59dbd5aea3
commit
e3fabe2ae6
@ -0,0 +1,9 @@
|
|||||||
|
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
|
Loading…
Reference in New Issue