Discogs releases import. Good.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user