socialforge/db/migrate/20150906091723_delete_anony...

9 lines
139 B
Ruby

class DeleteAnonymousMessage < ActiveRecord::Migration
def up
Message.where("author_id = 2").destroy_all
end
def down
end
end