persist path collection using sqlite