Skip to content

Commit

Permalink
Merge pull request #919 from colinin/fix-migrations
Browse files Browse the repository at this point in the history
fix(migrations): fix #917
  • Loading branch information
colinin committed Dec 3, 2023
2 parents cd23384 + 7553706 commit 178ccdf
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Expand Up @@ -51,7 +51,7 @@ protected async override Task LockAndApplyDatabaseMigrationsAsync()

protected async override Task SeedAsync()
{
Logger.LogInformation($"Executing {(CurrentTenant.IsAvailable ? "host" : CurrentTenant.Name ?? CurrentTenant.GetId().ToString())} database seed...");
Logger.LogInformation($"Executing {(!CurrentTenant.IsAvailable ? "host" : CurrentTenant.Name ?? CurrentTenant.GetId().ToString())} database seed...");

await DataSeeder.SeedAsync(CurrentTenant.Id);
}
Expand Down
Expand Up @@ -51,7 +51,7 @@ protected async override Task LockAndApplyDatabaseMigrationsAsync()

protected async override Task SeedAsync()
{
Logger.LogInformation($"Executing {(CurrentTenant.IsAvailable ? "host" : CurrentTenant.Name ?? CurrentTenant.GetId().ToString())} database seed...");
Logger.LogInformation($"Executing {(!CurrentTenant.IsAvailable ? "host" : CurrentTenant.Name ?? CurrentTenant.GetId().ToString())} database seed...");

await DataSeeder.SeedAsync(CurrentTenant.Id);
}
Expand Down
Expand Up @@ -51,7 +51,7 @@ protected async override Task LockAndApplyDatabaseMigrationsAsync()

protected async override Task SeedAsync()
{
Logger.LogInformation($"Executing {(CurrentTenant.IsAvailable ? "host" : CurrentTenant.Name ?? CurrentTenant.GetId().ToString())} database seed...");
Logger.LogInformation($"Executing {(!CurrentTenant.IsAvailable ? "host" : CurrentTenant.Name ?? CurrentTenant.GetId().ToString())} database seed...");

await DataSeeder.SeedAsync(CurrentTenant.Id);
}
Expand Down
Expand Up @@ -51,7 +51,7 @@ protected async override Task LockAndApplyDatabaseMigrationsAsync()

protected async override Task SeedAsync()
{
Logger.LogInformation($"Executing {(CurrentTenant.IsAvailable ? "host" : CurrentTenant.Name ?? CurrentTenant.GetId().ToString())} database seed...");
Logger.LogInformation($"Executing {(!CurrentTenant.IsAvailable ? "host" : CurrentTenant.Name ?? CurrentTenant.GetId().ToString())} database seed...");

await DataSeeder.SeedAsync(CurrentTenant.Id);
}
Expand Down
Expand Up @@ -51,7 +51,7 @@ protected async override Task LockAndApplyDatabaseMigrationsAsync()

protected async override Task SeedAsync()
{
Logger.LogInformation($"Executing {(CurrentTenant.IsAvailable ? "host" : CurrentTenant.Name ?? CurrentTenant.GetId().ToString())} database seed...");
Logger.LogInformation($"Executing {(!CurrentTenant.IsAvailable ? "host" : CurrentTenant.Name ?? CurrentTenant.GetId().ToString())} database seed...");

await DataSeeder.SeedAsync(CurrentTenant.Id);
}
Expand Down
Expand Up @@ -51,7 +51,7 @@ protected async override Task LockAndApplyDatabaseMigrationsAsync()

protected async override Task SeedAsync()
{
Logger.LogInformation($"Executing {(CurrentTenant.IsAvailable ? "host" : CurrentTenant.Name ?? CurrentTenant.GetId().ToString())} database seed...");
Logger.LogInformation($"Executing {(!CurrentTenant.IsAvailable ? "host" : CurrentTenant.Name ?? CurrentTenant.GetId().ToString())} database seed...");

await DataSeeder.SeedAsync(CurrentTenant.Id);
}
Expand Down

0 comments on commit 178ccdf

Please sign in to comment.