add DB scripts for postgresql and bump verstion to 0.6.0

these scripts come from dbt2.