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