create sqlite or postgres DB depending on config existence