I currently have a .net core web api that has a SQL Server database per client. An api key is required to be passed in for every call and then is looked up in a master tenant database to get the correct connection string. The api will then set the connection string in the startup file and run the call.

Within the api, I have an endpoint that allows me to update all tenants to the latest migration and I also have a console app that will do the same. Something like this:

```cs
public async Task UpdateAllDatabases()
{
    var qry = await GetAll(null, true);
    foreach (var i in qry)
    {
        var optionsBuilder = new DbContextOptionsBuilder<MigrationContext>()
            .UseSqlServer(i.DatabaseConnectionString);
        using (var tenantContext = new MigrationContext(optionsBuilder.Options, _appSettings))
        {
            tenantContext.Database.Migrate();
        }
    }
}

```

The issue I am having is when I need to `remove-migration`. How can I remove a migration from all tenant databases?