mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Autofac registrations are not singleton anymore.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Data.SQLite;
|
||||
using Marr.Data;
|
||||
using NzbDrone.Core.Datastore.Migration.Framework;
|
||||
@@ -16,9 +15,13 @@ namespace NzbDrone.Core.Datastore
|
||||
{
|
||||
private readonly IMigrationController _migrationController;
|
||||
|
||||
public DbFactory(IMigrationController migrationController)
|
||||
static DbFactory()
|
||||
{
|
||||
TableMapping.Map();
|
||||
}
|
||||
|
||||
public DbFactory(IMigrationController migrationController)
|
||||
{
|
||||
_migrationController = migrationController;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user