Curiosity.Migrations.PostgreSQL
4.0.2
dotnet add package Curiosity.Migrations.PostgreSQL --version 4.0.2
NuGet\Install-Package Curiosity.Migrations.PostgreSQL -Version 4.0.2
<PackageReference Include="Curiosity.Migrations.PostgreSQL" Version="4.0.2" />
paket add Curiosity.Migrations.PostgreSQL --version 4.0.2
#r "nuget: Curiosity.Migrations.PostgreSQL, 4.0.2"
// Install Curiosity.Migrations.PostgreSQL as a Cake Addin #addin nuget:?package=Curiosity.Migrations.PostgreSQL&version=4.0.2 // Install Curiosity.Migrations.PostgreSQL as a Cake Tool #tool nuget:?package=Curiosity.Migrations.PostgreSQL&version=4.0.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
- Curiosity.Migrations (>= 4.0.1)
- Npgsql (>= 6.0.0)
-
.NETStandard 2.0
- Curiosity.Migrations (>= 4.0.1)
- Npgsql (>= 6.0.0)
-
.NETStandard 2.1
- Curiosity.Migrations (>= 4.0.1)
- Npgsql (>= 6.0.0)
-
net6.0
- Curiosity.Migrations (>= 4.0.1)
- Npgsql (>= 6.0.0)
-
net7.0
- Curiosity.Migrations (>= 4.0.1)
- Npgsql (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.