auto checkout affinitic.db