reorganize the deployment scripts around postgres, not php