Configures SQLite as default database provider

Configures the application to use SQLite as the default database provider.
Removes the logger dependency from the EFCoreActivityExecutionStore, simplifying the constructor.
This commit is contained in:
Sipke Schoorstra 2025-06-05 20:11:02 +02:00
parent 3aae05317d
commit c0bc5302cf
No known key found for this signature in database
GPG key ID: 5C10502B28A4268F
2 changed files with 2 additions and 3 deletions

View file

@ -25,7 +25,7 @@
"RabbitMq": "amqp://guest:guest@localhost:5672",
"Redis": "localhost:6379,abortConnect=false"
},
"DatabaseProvider": "SqlServer",
"DatabaseProvider": "Sqlite",
"Multitenancy": {
"Tenants": [
{

View file

@ -30,8 +30,7 @@ public class EFCoreActivityExecutionStore(
ISafeSerializer safeSerializer,
IPayloadSerializer payloadSerializer,
ICompressionCodecResolver compressionCodecResolver,
IOptions<ManagementOptions> options,
ILogger<EFCoreActivityExecutionStore> logger) : IActivityExecutionStore
IOptions<ManagementOptions> options) : IActivityExecutionStore
{
/// <inheritdoc />
public async Task SaveAsync(ActivityExecutionRecord record, CancellationToken cancellationToken = default) => await store.SaveAsync(record, OnSaveAsync, cancellationToken);