use postgresql rather than sqlite