fix favorite migration for postgres, thanks [JT] [ci skip]
This commit is contained in:
parent
4f722c9476
commit
c9406d8d7e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue