DbUp
EfCore.TestSupport
Our great sponsors
DbUp | EfCore.TestSupport | |
---|---|---|
10 | 2 | |
2,074 | 348 | |
1.2% | - | |
8.5 | 0.0 | |
11 days ago | 1 day ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
DbUp
-
How to Handle MSSQL Database in CI/CD?
Another common library that can apply the SQL scripts is DbUp which will apply scripts in a given folder or assembly. https://github.com/DbUp/DbUp
- How do you do CI/CD with ef core
-
Best db migration tool options to use along with Entity Framework
I've used a simple migration tool called DbUp https://github.com/DbUp/DbUp
- Is it sensible to run EF migrations at startup?
EfCore.TestSupport
-
Is it sensible to run EF migrations at startup?
I think it would be fine for a small app. For larger apps: we currently use DbUp to run SQL scripts on deploy (in a seperate job, before the web app deploys) + https://github.com/JonPSmith/EfCore.TestSupport to run a unit test to ensure the EF Core schema matches the database to prevent errors at runtime.
What are some alternatives?
FluentMigrator - Fluent migrations framework for .NET
yuniql - Free and open source schema versioning and database migration made natively with .NET/6. NEW THIS MAY 2022! v1.3.15 released!
roundhouse - RoundhousE is a Database Migration Utility for .NET using sql files and versioning based on source control
Entity Framework - EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
Evolve - Database migration tool for .NET and .NET Core projects. Inspired by Flyway.
Unfold - Powershell-based deployment solution for .net web applications
Octo Pack - Creates Octopus-compatible NuGet packages
ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
Flyway - Flyway by Redgate • Database Migrations Made Easy.
EF-Migrations-Script-Generator-Task
Horton - Horton is the simple database migration utility.