fix(merchant_service): PendingModelChangesWarning
This commit is contained in:
@@ -46,6 +46,11 @@ public static class DependencyInjection
|
||||
options.EnableSensitiveDataLogging();
|
||||
options.EnableDetailedErrors();
|
||||
}
|
||||
|
||||
// EN: Suppress PendingModelChangesWarning to allow MigrateAsync to proceed
|
||||
// VI: Bỏ qua PendingModelChangesWarning để MigrateAsync có thể chạy
|
||||
options.ConfigureWarnings(w =>
|
||||
w.Ignore(Microsoft.EntityFrameworkCore.Diagnostics.RelationalEventId.PendingModelChangesWarning));
|
||||
});
|
||||
|
||||
// EN: Register repositories / VI: Đăng ký repositories
|
||||
|
||||
Reference in New Issue
Block a user