making postgres database for dev and prod