discourse/db/migrate/20140725050636_remove_inval...

8 lines
190 B
Ruby

# frozen_string_literal: true
class RemoveInvalidIncomingLinks < ActiveRecord::Migration[4.2]
def change
execute "DELETE FROM incoming_links WHERE url ILIKE '%avatar%.png'"
end
end