10 lines
173 B
Ruby
10 lines
173 B
Ruby
|
class AddLengthToTrack < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
add_column :tracks, :length, :integer
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_column :tracks, :length
|
||
|
end
|
||
|
end
|