10 lines
227 B
Ruby
10 lines
227 B
Ruby
|
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
|