Album status

This commit is contained in:
Gregory Eremin
2011-09-14 20:54:39 +04:00
parent 67b6899f9f
commit da97b4d4fc
4 changed files with 11 additions and 2 deletions
@@ -0,0 +1,5 @@
class AddStatusToAlbums < ActiveRecord::Migration
def change
add_column :albums, :status, :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 => 20110630052149) do
ActiveRecord::Schema.define(:version => 20110914163231) do
create_table "albums", :force => true do |t|
t.string "name"
@@ -23,6 +23,7 @@ ActiveRecord::Schema.define(:version => 20110630052149) do
t.string "album_type"
t.string "mbid"
t.integer "has_pic"
t.integer "status"
end
create_table "artists", :force => true do |t|