AppAny.Quartz.EntityFrameworkCore.Migrations
0.1.5
Prefix Reserved
See the version list below for details.
dotnet add package AppAny.Quartz.EntityFrameworkCore.Migrations --version 0.1.5
NuGet\Install-Package AppAny.Quartz.EntityFrameworkCore.Migrations -Version 0.1.5
<PackageReference Include="AppAny.Quartz.EntityFrameworkCore.Migrations" Version="0.1.5" />
paket add AppAny.Quartz.EntityFrameworkCore.Migrations --version 0.1.5
#r "nuget: AppAny.Quartz.EntityFrameworkCore.Migrations, 0.1.5"
// Install AppAny.Quartz.EntityFrameworkCore.Migrations as a Cake Addin #addin nuget:?package=AppAny.Quartz.EntityFrameworkCore.Migrations&version=0.1.5 // Install AppAny.Quartz.EntityFrameworkCore.Migrations as a Cake Tool #tool nuget:?package=AppAny.Quartz.EntityFrameworkCore.Migrations&version=0.1.5
EntityFrameworkCore migrations for Quartz.NET
This library handles schema migrations for Quartz.NET using EntityFrameworkCore migrations toolkit with one line of configuration
Installation
$> dotnet add package AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL
Supported drivers
Feel free to create as issue for driver 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 | Versions 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. |
-
net5.0
- Microsoft.EntityFrameworkCore (>= 5.0.3)
NuGet packages (9)
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 | 680,307 | 4/29/2024 |
0.5.0 | 253,466 | 1/8/2024 |
0.4.0 | 351,660 | 1/1/2023 |
0.3.0 | 19,689 | 12/15/2022 |
0.2.0 | 779 | 12/15/2022 |
0.1.18 | 592 | 12/10/2022 |
0.1.17 | 51,903 | 1/21/2022 |
0.1.16 | 2,962 | 12/14/2021 |
0.1.15 | 3,731 | 7/24/2021 |
0.1.14 | 238 | 5/30/2021 |
0.1.13 | 840 | 4/28/2021 |
0.1.12 | 361 | 4/12/2021 |
0.1.11 | 268 | 4/12/2021 |
0.1.10 | 3,593 | 3/29/2021 |
0.1.9 | 404 | 3/26/2021 |
0.1.8 | 884 | 2/26/2021 |
0.1.7 | 1,464 | 2/16/2021 |
0.1.6 | 521 | 2/16/2021 |
0.1.5 | 412 | 2/16/2021 |
0.1.4 | 1,491 | 1/24/2021 |
0.1.3 | 576 | 1/23/2021 |