journalduhacker/db/migrate/20120712174445_add_comment_deleted.rb

10 lines
227 B
Ruby
Raw Normal View History

2012-07-12 20:30:20 +02:00
class AddCommentDeleted < ActiveRecord::Migration
def up
add_column "comments", "is_deleted", :boolean, :default => false
add_column "comments", "is_moderated", :boolean, :default => false
end
def down
end
end