fix attachment_default migration

This commit is contained in:
Stella Rouzi 2014-07-14 21:19:42 +03:00
parent 6f5ab8988c
commit 0f9242cbd2

View file

@ -1,8 +1,8 @@
class ChangeAttachmentDefault < ActiveRecord::Migration
def up
change_column_default(:event_attachments, :public, :default => true)
change_column_default(:event_attachments, :public, true)
end
def down
change_column_default(:event_attachments, :public, :default => nil)
change_column_default(:event_attachments, :public, nil)
end
end