SkillAgentSearch skills...

MultiTenantEfCoreMigrator

An example .NET console application that executes pending Entity Framework Core (EF Core) migrations to configured tenant databases.

Install / Use

/learn @chadgolden1/MultiTenantEfCoreMigrator
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

MultiTenantEFCoreMigrator

An example net6.0 console application that executes pending Entity Framework Core (EF Core) migrations to configured tenant databases.

Remarks

This is useful for efficiently executing migrations in multi-tenanted scenarios where each tenant has its own connection string/database as part of a shared DbContext.

It offers a way to execute migrations in code as opposed to using the PowerShell module or dotnet ef tool. This approach could be used within CI/CD pipelines.

Uses Task's to run migrations concurrently - much faster than serial execution

View on GitHub
GitHub Stars6
CategoryData
Updated2y ago
Forks2

Languages

C#

Security Score

55/100

Audited on Nov 16, 2023

No findings