use postgresql instead of mysql