mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-31 19:32:51 +00:00
switched reflection strategy for marr to SimpleReflectionStrategy, should be more mono friendly.
This commit is contained in:
parent
0779ff63d4
commit
89e94bae01
1 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Data.SQLite;
|
using System.Data.SQLite;
|
||||||
using Marr.Data;
|
using Marr.Data;
|
||||||
|
using Marr.Data.Reflection;
|
||||||
using NzbDrone.Core.Datastore.Migration.Framework;
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
||||||
|
|
||||||
|
|
||||||
|
@ -34,6 +35,9 @@ public IDatabase Create(string dbPath, MigrationType migrationType = MigrationTy
|
||||||
{
|
{
|
||||||
SqlMode = SqlModes.Text,
|
SqlMode = SqlModes.Text,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
MapRepository.Instance.ReflectionStrategy = new SimpleReflectionStrategy();
|
||||||
|
|
||||||
return new Database(dataMapper);
|
return new Database(dataMapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue