Skip to content

Commit

Permalink
fix(migrations): fix #917
Browse files Browse the repository at this point in the history
  • Loading branch information
colinin committed Dec 3, 2023
1 parent 0b6c815 commit 7553706
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 7553706

Please sign in to comment.