diff --git a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Services/DqtReporting/Migrator.cs b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Services/DqtReporting/Migrator.cs index 6c12cb28f0..880c44a256 100644 --- a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Services/DqtReporting/Migrator.cs +++ b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Services/DqtReporting/Migrator.cs @@ -22,7 +22,8 @@ public Migrator(string connectionString, ILogger? logger = null) .LogScriptOutput() .WithTransaction() .JournalToSqlTable("dbo", "__SchemaVersions") - .WithScripts(new DqtReportingMigrationsScriptProvider()); + .WithScripts(new DqtReportingMigrationsScriptProvider()) + .WithExecutionTimeout(TimeSpan.FromMinutes(2)); if (logger is not null) {