Curiosity.Migrations
4.1.2
See the version list below for details.
dotnet add package Curiosity.Migrations --version 4.1.2
NuGet\Install-Package Curiosity.Migrations -Version 4.1.2
<PackageReference Include="Curiosity.Migrations" Version="4.1.2" />
paket add Curiosity.Migrations --version 4.1.2
#r "nuget: Curiosity.Migrations, 4.1.2"
// Install Curiosity.Migrations as a Cake Addin #addin nuget:?package=Curiosity.Migrations&version=4.1.2 // Install Curiosity.Migrations as a Cake Tool #tool nuget:?package=Curiosity.Migrations&version=4.1.2
Curiosity.Migrations
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
EntityFramework
for 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. |
.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 (2)
Showing the top 2 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). |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
4.3.0 | 310 | 11/14/2023 |
4.2.0 | 247 | 4/21/2023 |
4.1.3 | 272 | 4/14/2023 |
4.1.2 | 210 | 4/12/2023 |
4.1.1 | 194 | 4/12/2023 |
4.0.2 | 203 | 4/12/2023 |
4.0.1 | 425 | 4/10/2023 |
4.0.0 | 325 | 4/10/2023 |
3.1.0 | 466 | 7/29/2022 |
3.0.7 | 479 | 4/21/2022 |
3.0.6 | 465 | 3/1/2022 |
3.0.5 | 429 | 3/1/2022 |
3.0.4 | 863 | 8/3/2021 |
3.0.3 | 487 | 3/8/2021 |
3.0.2 | 563 | 12/10/2020 |
3.0.1 | 414 | 12/9/2020 |
3.0.0 | 525 | 12/8/2020 |
2.2.0 | 584 | 10/16/2020 |
2.1.0 | 590 | 9/21/2020 |
2.0.0 | 656 | 5/14/2020 |
1.2.0 | 632 | 4/23/2020 |
1.1.1 | 650 | 4/1/2020 |
1.1.0 | 657 | 3/24/2020 |
1.0.0 | 692 | 2/11/2020 |