fix favorite migration for postgres, thanks [JT] [ci skip]

This commit is contained in:
Jonne Haß 2012-04-23 18:43:23 +02:00
parent 4f722c9476
commit c9406d8d7e

View file

@ -1,5 +1,5 @@
class AddFavoriteToPost < ActiveRecord::Migration
def change
add_column :posts, :favorite, :boolean, :default => 0
add_column :posts, :favorite, :boolean, :default => false
end
end