Album has_pic fix, production gems fix

This commit is contained in:
magnolia-fan
2011-06-30 09:29:24 +04:00
parent 13a233ac72
commit 31a1cb88e2
5 changed files with 19 additions and 7 deletions
@@ -0,0 +1,9 @@
class AddHasPicToAlbum < ActiveRecord::Migration
def self.up
add_column :albums, :has_pic, :integer
end
def self.down
remove_column :albums, :has_pic
end
end
+2 -1
View File
@@ -10,7 +10,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20110630035132) do
ActiveRecord::Schema.define(:version => 20110630052149) do
create_table "albums", :force => true do |t|
t.string "name"
@@ -21,6 +21,7 @@ ActiveRecord::Schema.define(:version => 20110630035132) do
t.datetime "updated_at"
t.string "album_type"
t.string "mbid"
t.integer "has_pic"
end
create_table "artists", :force => true do |t|