The past tense of have one's foundations is had one's foundations.
The third-person singular simple present indicative form of have one's foundations is has one's foundations.
The present participle of have one's foundations is having one's foundations.
The past participle of have one's foundations is had one's foundations.