Use pg in production and sqlite3 in test and dev