add insert pr ignore support for sqlite + tests