We all have a super tool available to us that can help with tracking changes in text files.
It’s free and been available for long time now. – it’s GIT.
Git saved me more times than my friends do.
When writing software we almost always version control the source code but many times the changes in databases are not tracked in git. Some keep deployment files , some put it in confluence or wiki pages.
But in my experience we must always put it close to the code that uses it.
My recommendation is to use a database version control tools liqibase, flyway, knex etc.
Thank me later.