* Restore EF Core persistence layer Originally, we had moved EF Core to the extensions repo, but in practice this turned out to be rather impractical when debugging elsa-core, given that we would lose all of the state (workflow definitions, instances, etc.) across application restarts. * Integrate PostgreSQL support into EF Core persistence and enhance BlobStorage workflows provider setup.
15 lines
607 B
C#
15 lines
607 B
C#
// ReSharper disable once CheckNamespace
|
|
namespace Elsa.Persistence.EFCore;
|
|
|
|
public class MigrationOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets a collection that determines whether Entity Framework Core migrations
|
|
/// should be executed for specific DbContext types.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// The key is the DbContext type, and the value is a boolean indicating whether migrations
|
|
/// should be applied for that specific context (true to apply, false to skip).
|
|
/// </remarks>
|
|
public IDictionary<Type, bool> RunMigrations { get; set; } = new Dictionary<Type, bool>();
|
|
} |