Use sqlite3 for dev and test, postgres for production