discourse/db/migrate/20140725050636_remove_inval...

6 lines
159 B
Ruby
Raw Normal View History

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