MB + Last.fm + Discogs = Import!
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class PrepareToMixedImport < ActiveRecord::Migration
|
||||
def up
|
||||
add_column :track_artists, :name, :string
|
||||
add_column :albums, :master_id, :integer
|
||||
end
|
||||
|
||||
def down
|
||||
remove_column :track_artists, :name
|
||||
remove_column :albums, :master_id
|
||||
end
|
||||
end
|
||||
+3
-1
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20110926002631) do
|
||||
ActiveRecord::Schema.define(:version => 20110926031740) do
|
||||
|
||||
create_table "album_formats", :force => true do |t|
|
||||
t.integer "album_id"
|
||||
@@ -49,6 +49,7 @@ ActiveRecord::Schema.define(:version => 20110926002631) do
|
||||
t.integer "has_pic"
|
||||
t.integer "status"
|
||||
t.boolean "master"
|
||||
t.integer "master_id"
|
||||
end
|
||||
|
||||
add_index "albums", ["artist_id"], :name => "index_albums_on_artist_id"
|
||||
@@ -182,6 +183,7 @@ ActiveRecord::Schema.define(:version => 20110926002631) do
|
||||
t.integer "artist_id"
|
||||
t.boolean "main"
|
||||
t.string "join"
|
||||
t.string "name"
|
||||
end
|
||||
|
||||
add_index "track_artists", ["artist_id"], :name => "index_track_artists_on_artist_id"
|
||||
|
||||
Reference in New Issue
Block a user