Restored postgres to dev and test