Executing SQL code within EntityFrameworkCore migration in correct order (SQLite)

New MigrationSqlGenerator that will generate SQL from MigrationOperations that can have an attribute “ExecuteAfter” or “ExecuteBefore”

Click here to read the article