Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
appany-it authored Dec 15, 2022
1 parent 9233fe1 commit 8d963ad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ $> dotnet add package AppAny.Quartz.EntityFrameworkCore.Migrations.PostgreSQL
## 💡 Supported drivers 💡

- [x] [PostgreSQL](https://www.nuget.org/packages/Npgsql.EntityFrameworkCore.PostgreSQL)
- [x] [MySQL](https://www.nuget.org/packages/Npgsql.EntityFrameworkCore.MySQL)
- [x] [SQLServer](https://www.nuget.org/packages/Npgsql.EntityFrameworkCore.SqlServer)

🚧 Feel free to **create as issue** for driver support 🚧

Expand All @@ -32,7 +34,7 @@ public class DatabaseContext : DbContext
{
// Adds Quartz.NET PostgreSQL schema to EntityFrameworkCore
modelBuilder.AddQuartz(builder => builder
.UsePostgres()
.UsePostgreSql()
.UseSchema("quartz")
.UseNoPrefix());
}
Expand All @@ -41,7 +43,7 @@ public class DatabaseContext : DbContext

✅ Configure `Quartz.NET`
```cs
storeOptions.UsePostgres(postgresOptions =>
storeOptions.UsePostgreSql(postgresOptions =>
{
postgresOptions.UseDriverDelegate<PostgreSQLDelegate>();
postgresOptions.ConnectionString = ...;
Expand Down

0 comments on commit 8d963ad

Please sign in to comment.