Use sqlite and postgres