Discogs releases parse

This commit is contained in:
Gregory Eremin
2011-09-22 19:40:44 +04:00
parent 7a3444d103
commit e235ad7fc5
11 changed files with 107 additions and 6 deletions
@@ -0,0 +1,9 @@
class CreateGenres < ActiveRecord::Migration
def change
create_table :genres do |t|
t.string :name
t.timestamps
end
end
end
@@ -0,0 +1,9 @@
class CreateStyles < ActiveRecord::Migration
def change
create_table :styles do |t|
t.string :name
t.timestamps
end
end
end
+13 -1
View File
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20110921182606) do
ActiveRecord::Schema.define(:version => 20110922122407) do
create_table "albums", :force => true do |t|
t.string "name"
@@ -80,6 +80,12 @@ ActiveRecord::Schema.define(:version => 20110921182606) do
t.datetime "updated_at"
end
create_table "genres", :force => true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "local_brainz_releases", :force => true do |t|
t.string "mbid"
t.string "title"
@@ -123,6 +129,12 @@ ActiveRecord::Schema.define(:version => 20110921182606) do
t.datetime "updated_at"
end
create_table "styles", :force => true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "track_artists", :force => true do |t|
t.integer "track_id"
t.integer "artist_id"