Use postgresql instead of sqlite