Work on import from discogs. Switching to mysql in local dev
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddMasterToAlbum < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :albums, :master, :boolean
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
class CreateArtistAliases < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :artist_aliases do |t|
|
||||
t.integer :artist_id
|
||||
t.string :name
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddOriginalNameToArtist < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :artists, :original_name, :string
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,12 @@
|
||||
class CreateTrackArtists < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :track_artists do |t|
|
||||
t.integer :track_id
|
||||
t.integer :artist_id
|
||||
t.boolean :main
|
||||
t.string :join
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user