elsa-core/src/modules/Elsa.EntityFrameworkCore
Sipke Schoorstra 95346c98a3
Fix RunMigrations Propagation Issue (#6838)
* Introduce `MigrationOptions` for configurable EF Core migration execution

Added `MigrationOptions` to control migration execution on a per-DbContext basis. Updated `RunMigrationsStartupTask` to respect these options, and refactored configurations in `PersistenceFeatureBase`.

This fixes an issue where the `RunMigrations` setting is not properly propagated to dependency features.

Fixes #6912

* Propagate `DbContextOptionsBuilder`, `UseContextPooling`, and `RunMigrations` settings to dependency features in `WorkflowManagementPersistenceFeature`.

* Update src/modules/Elsa.EntityFrameworkCore.Common/RunMigrationsStartupTask.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Frans van Ek <frans@fransvanek.nl>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-05 08:31:53 +02:00
..
Modules Fix RunMigrations Propagation Issue (#6838) 2025-08-05 08:31:53 +02:00
Elsa.EntityFrameworkCore.csproj Enable CPM transitive pinning and resolve version conflicts (#6069) 2024-10-31 09:12:21 +01:00
FodyWeavers.xml Additional samples + fixes and improvements (#3574) 2022-12-30 13:11:29 +01:00