Hi welcome to Just Answer my name is David. I am reviewing your question and will reply ASAP.
This is most likely to be a setting that was transferred to the upgraded phone.
Tap Settings - Messages - Keep Messages.
Change this setting to Forever, and you should not see old texts being deleted any more.