7 ms·
> I haven’t seen one yet that can run a query to determine if a migration has been applied or not MyBatis Migrations[0] does that with the use of a migrations
by AdieuToLogic 2y ago
> I haven’t seen one yet that can run a query to determine if a migration has been applied or not
MyBatis Migrations[0] does that with the use of a migrations management table.
As to why most, if not all, SQL migration tools are stateful, "the good ones" often have migration descriptions and timestamps as well. Since a persistent store is by definition stateful, having tooling state stored alongside the concepts managed makes sense in many cases.
0 - https://mybatis.org/migrations/ https://mybatis.org/migrations/