Refactored artist import using mbrainz n lastfm gems. Improved stability
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class AddMbidToTrack < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :tracks, :mbid, :string
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :tracks, :mbid
|
||||
end
|
||||
end
|
||||
+2
-1
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20110622204123) do
|
||||
ActiveRecord::Schema.define(:version => 20110624073136) do
|
||||
|
||||
create_table "albums", :force => true do |t|
|
||||
t.string "name"
|
||||
@@ -90,6 +90,7 @@ ActiveRecord::Schema.define(:version => 20110622204123) do
|
||||
t.datetime "updated_at"
|
||||
t.integer "length"
|
||||
t.string "country"
|
||||
t.string "mbid"
|
||||
end
|
||||
|
||||
create_table "users", :force => true do |t|
|
||||
|
||||
Reference in New Issue
Block a user