AppAny.Quartz.EntityFrameworkCore.Migrations 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 --version 0.1.3                
NuGet\Install-Package AppAny.Quartz.EntityFrameworkCore.Migrations -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" 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 --version 0.1.3                
#r "nuget: AppAny.Quartz.EntityFrameworkCore.Migrations, 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 as a Cake Addin
#addin nuget:?package=AppAny.Quartz.EntityFrameworkCore.Migrations&version=0.1.3

// Install AppAny.Quartz.EntityFrameworkCore.Migrations as a Cake Tool
#tool nuget:?package=AppAny.Quartz.EntityFrameworkCore.Migrations&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 (8)

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

Package Downloads
AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL

EntityFrameworkCore PostgreSQL migrations for Quartz.NET

AppAny.Quartz.EntityFrameworkCore.Migrations.SqlServer

EntityFrameworkCore SQL migrations for Quartz.NET

AppAny.Quartz.EntityFrameworkCore.Migrations.MySql

EntityFrameworkCore MySql migrations for Quartz.NET

AppAny.Quartz.EntityFrameworkCore.Migrations.SQLite

EntityFrameworkCore SQLite migrations for Quartz.NET

Elsa.Quartz.EntityFrameworkCore.SqlServer

Provides EF Core migrations for Quartz.NET.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.5.1 880,975 4/29/2024
0.5.0 271,461 1/8/2024
0.4.0 356,301 1/1/2023
0.3.0 19,926 12/15/2022
0.2.0 792 12/15/2022
0.1.18 597 12/10/2022
0.1.17 52,958 1/21/2022
0.1.16 2,966 12/14/2021
0.1.15 3,733 7/24/2021
0.1.14 240 5/30/2021
0.1.13 842 4/28/2021
0.1.12 363 4/12/2021
0.1.11 270 4/12/2021
0.1.10 3,687 3/29/2021
0.1.9 406 3/26/2021
0.1.8 902 2/26/2021
0.1.7 1,466 2/16/2021
0.1.6 523 2/16/2021
0.1.5 414 2/16/2021
0.1.4 1,493 1/24/2021
0.1.3 594 1/23/2021