Curiosity.Migrations
4.3.0
See the version list below for details.
dotnet add package Curiosity.Migrations --version 4.3.0
NuGet\Install-Package Curiosity.Migrations -Version 4.3.0
<PackageReference Include="Curiosity.Migrations" Version="4.3.0" />
<PackageVersion Include="Curiosity.Migrations" Version="4.3.0" />
<PackageReference Include="Curiosity.Migrations" />
paket add Curiosity.Migrations --version 4.3.0
#r "nuget: Curiosity.Migrations, 4.3.0"
#:package Curiosity.Migrations@4.3.0
#addin nuget:?package=Curiosity.Migrations&version=4.3.0
#tool nuget:?package=Curiosity.Migrations&version=4.3.0
Curiosity.Migrations
![Documentation Status]()
Database migration framework for .NET and .NET Core.
| Branch | Build status |
|---|---|
| master |
Curiosity.Migrations is a migration framework that uses SQL scripts and code migration to alter your database schema or seed a data.
Without migrations you need to create a lots of sql scripts that have to be run manually by every developer involved. Migrations solve the problem of evolving a database schema for multiple databases (for example, the developer's local database, the test database and the production database).
Features
Curiosity.Migration has a lot of useful features. You can find more information about them at special articles:
- Script migrations: write your own DDL SQL scripts
- Batches: separate a big SQL script into small batches
- Code migrations: manipulate data from C#, useful for database seeding
- Dependency Injection: inject dependencies into code migrations
- EntityFramework Integration: use
EntityFrameworkfor data manipulation from code migrations
- Migration Providers: store migrations in a different way (files, embedded resources, etc)
- Variable substitutions: allows to insert some dynamic data to your migrations
- Transactions: you can enable or disable transaction for separate migration
- Pre-migrations: executes SQL or code before main migration
- Journal: choose your own table to store migration history
- Downgrade migrations: allows you to reverse applied migrations
Supported databases
<table> <tbody> <tr> <td align="center" valign="middle"> <img src="https://raw.githubusercontent.com/siisltd/Curiosity.Migrations/master/docs/images/postgresql.png"> </td> </tr> </tbody> </table>
If you don't find a desired database, you can contribute and add support by yourself.
Install
Curiosity.Migrations is available as a Nuget package.
| Package | Build Status | Version | Downloads |
|---|---|---|---|
| Curiosity.Migrations | |||
| Curiosity.Migrations.PostgreSQL |
Getting help
You can find documentation and samples at ReadTheDocs.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- Microsoft.Extensions.DependencyInjection (>= 6.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection (>= 6.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
-
.NETStandard 2.1
- Microsoft.Extensions.DependencyInjection (>= 6.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
-
net6.0
- Microsoft.Extensions.DependencyInjection (>= 6.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
-
net7.0
- Microsoft.Extensions.DependencyInjection (>= 6.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Curiosity.Migrations:
| Package | Downloads |
|---|---|
|
Curiosity.Migrations.PostgreSQL
Curiosity.Migrations is a migration framework that uses SQL scripts and code migration to alter your database schema or seed a data. |
|
|
Curiosity.Migrations.Utils
Without migrations you need to create a lots of sql scripts that have to be run manually by every developer involved. Migrations solve the problem of evolving a database schema for multiple databases (for example, the developer's local database, the test database and the production database). |
|
|
Curiosity.Migrations.SqlServer
Curiosity.Migrations is a migration framework that uses SQL scripts and code migration to alter your database schema or seed a data. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.3.1 | 355 | 5/1/2025 |
| 4.3.0 | 698 | 11/14/2023 |
| 4.2.0 | 367 | 4/21/2023 |
| 4.1.3 | 433 | 4/14/2023 |
| 4.1.2 | 365 | 4/12/2023 |
| 4.1.1 | 344 | 4/12/2023 |
| 4.0.2 | 334 | 4/12/2023 |
| 4.0.1 | 628 | 4/10/2023 |
| 4.0.0 | 501 | 4/10/2023 |
| 3.1.0 | 614 | 7/29/2022 |
| 3.0.7 | 630 | 4/21/2022 |
| 3.0.6 | 627 | 3/1/2022 |
| 3.0.5 | 587 | 3/1/2022 |
| 3.0.4 | 1,024 | 8/3/2021 |
| 3.0.3 | 704 | 3/8/2021 |
| 3.0.2 | 791 | 12/10/2020 |
| 3.0.1 | 602 | 12/9/2020 |
| 3.0.0 | 718 | 12/8/2020 |
| 2.2.0 | 817 | 10/16/2020 |
| 2.1.0 | 827 | 9/21/2020 |
| 2.0.0 | 889 | 5/14/2020 |
| 1.2.0 | 840 | 4/23/2020 |
| 1.1.1 | 859 | 4/1/2020 |
| 1.1.0 | 858 | 3/24/2020 |
| 1.0.0 | 903 | 2/11/2020 |