AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL 0.1.4

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL --version 0.1.4
NuGet\Install-Package AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL -Version 0.1.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL" Version="0.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL --version 0.1.4
#r "nuget: AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL, 0.1.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL as a Cake Addin
#addin nuget:?package=AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL&version=0.1.4

// Install AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL as a Cake Tool
#tool nuget:?package=AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL&version=0.1.4

EntityFrameworkCore migrations for Quartz.NET

Nuget Integration Tests

This library handles schema migrations for Quartz.NET using EntityFrameworkCore migrations toolkit with one line of configuration

Supported drivers

Feel free to contribute another drivers support

Usage

# Configure DbContext
public class DatabaseContext : DbContext
{
  // ...

  protected override void OnModelCreating(ModelBuilder modelBuilder)
  {
    // Adds Quartz.NET PostgreSQL schema to EntityFrameworkCore
    modelBuilder.AddQuartz(builder => builder
      .UsePostgres()
      .UseSchema("quartz")
      .UseNoPrefix());
  }
}

# Configure Quartz.NET
storeOptions.UsePostgres(postgresOptions =>
{
  postgresOptions.UseDriverDelegate<PostgreSQLDelegate>();
  postgresOptions.ConnectionString = ...;
  postgresOptions.TablePrefix = ...;
});

Then add EntityFrameworkCore migration with Quartz.NET schema dotnet ef migrations add AddQuartz and:

  • Add in-process migration using databaseContext.Database.MigrateAsync()
  • Add out-of-process migration using dotnet ef database update
  • Extract SQL for your migration tool dotnet ef migrations script PreviousMigration AddQuartz
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL:

Package Downloads
Elsa.Quartz.EntityFrameworkCore.PostgreSql

Provides EF Core migrations for Quartz.NET.

Vnesok.Persistence

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL:

Repository Stars
elsa-workflows/elsa-core
A .NET workflows library
Version Downloads Last updated
0.5.1 122 4/29/2024
0.5.0 164,850 1/8/2024
0.4.0 257,547 1/1/2023
0.3.0 14,377 12/15/2022
0.2.0 322 12/15/2022
0.1.18 335 12/10/2022
0.1.17 46,193 1/21/2022
0.1.16 2,466 12/14/2021
0.1.15 3,661 7/24/2021
0.1.13 1,087 4/29/2021
0.1.12 423 4/12/2021
0.1.11 314 4/12/2021
0.1.10 3,146 3/29/2021
0.1.8 702 2/26/2021
0.1.7 1,313 2/16/2021
0.1.6 379 2/16/2021
0.1.4 1,364 1/24/2021
0.1.3 407 1/23/2021
0.1.2 719 1/22/2021
0.1.1 611 1/22/2021
0.1.0 428 1/9/2021