update tutorial for postgres
add postgres version of sql schema