db cleanup
db REPLACE returned support for sqlite