Schema changes not being applied on database migration

System Information
  • Strapi Version: 4.12.1
  • Operating System: Any
  • Database: Postgresql
  • Node Version: 18.12.1
  • NPM Version: 8.12.2

Hello, I’ve been looking through the forum and I saw many pending replies to this same question in the migration Q&A.

I’m currently using migration scripts with knex, I’ve to update some fields which works great.
The second script, that removes unused fields and add news ones runs but does not have any kind of impact on Strapi (All fields are still there).

The script runs fine and it goes through all the lines correctly, no errors thrown.
I also can’t just remove them through Strapi because some of the fields being removed, are used in the previous update script.
I also can’t merge it in steps, because is part of a bigger update that’s going to production all together.

Any ideas of why the schema script is not making any changes on Strapi?