Discogs releases import. Good.

This commit is contained in:
magnolia-fan
2011-09-22 23:54:09 +04:00
parent e235ad7fc5
commit e46717af01
18 changed files with 225 additions and 23 deletions
@@ -0,0 +1,10 @@
class CreateReleaseFormats < ActiveRecord::Migration
def change
create_table :release_formats do |t|
t.string :name
t.string :hash
t.timestamps
end
end
end
@@ -0,0 +1,10 @@
class CreateAlbumFormats < ActiveRecord::Migration
def change
create_table :album_formats do |t|
t.integer :album_id
t.integer :release_format_id
t.timestamps
end
end
end
@@ -0,0 +1,10 @@
class CreateAlbumGenres < ActiveRecord::Migration
def change
create_table :album_genres do |t|
t.integer :album_id
t.integer :genre_id
t.timestamps
end
end
end
@@ -0,0 +1,10 @@
class CreateAlbumStyles < ActiveRecord::Migration
def change
create_table :album_styles do |t|
t.integer :album_id
t.integer :style_id
t.timestamps
end
end
end