Import script works fine

This commit is contained in:
magnolia-fan
2011-06-14 22:06:46 +04:00
parent 908f18c7de
commit cb42a55f9d
12 changed files with 118 additions and 13 deletions
@@ -0,0 +1,9 @@
class AddPicUrlToArtist < ActiveRecord::Migration
def self.up
add_column :artists, :pic_url, :string
end
def self.down
remove_column :artists, :pic_url
end
end
@@ -0,0 +1,9 @@
class AddLengthToTrack < ActiveRecord::Migration
def self.up
add_column :tracks, :length, :integer
end
def self.down
remove_column :tracks, :length
end
end