AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL 0.1.3

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.3                
NuGet\Install-Package AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL -Version 0.1.3                
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.3" />                
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.3                
#r "nuget: AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL, 0.1.3"                
#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.3

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

EntityFrameworkCore migrations for Quartz.NET

Nuget

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 (3)

Showing the top 3 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

Shinya.Scheduling.Quartz.Plugins.EntityFrameworkCoreMigrations.PostgreSQL

Shinya.Framework

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 694,362 4/29/2024
0.5.0 221,723 1/8/2024
0.4.0 274,864 1/1/2023
0.3.0 19,436 12/15/2022
0.2.0 354 12/15/2022
0.1.18 372 12/10/2022
0.1.17 51,778 1/21/2022
0.1.16 2,511 12/14/2021
0.1.15 3,836 7/24/2021
0.1.13 1,119 4/29/2021
0.1.12 461 4/12/2021
0.1.11 349 4/12/2021
0.1.10 3,297 3/29/2021
0.1.8 777 2/26/2021
0.1.7 1,350 2/16/2021
0.1.6 411 2/16/2021
0.1.4 1,398 1/24/2021
0.1.3 443 1/23/2021
0.1.2 808 1/22/2021
0.1.1 638 1/22/2021
0.1.0 453 1/9/2021