Saltwater intrusion history shapes the response of bacterial communities upon rehydration.