Basic setting playlist

This commit is contained in:
magnolia-fan
2011-11-26 19:03:33 +04:00
parent 4ade7fa77f
commit 9a79ae0527
9 changed files with 61 additions and 19 deletions
@@ -0,0 +1,5 @@
class AddArtistToPlaylists < ActiveRecord::Migration
def change
add_column :playlists, :artist_id, :integer
end
end
+2 -1
View File
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20111012064322) do
ActiveRecord::Schema.define(:version => 20111126142207) do
create_table "album_formats", :force => true do |t|
t.integer "album_id"
@@ -155,6 +155,7 @@ ActiveRecord::Schema.define(:version => 20111012064322) do
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "artist_id"
end
create_table "release_formats", :force => true do |t|