mirror of
https://github.com/Radarr/Radarr
synced 2025-03-15 16:29:46 +00:00
Fixed issue where migrration would run on every page load.
This commit is contained in:
parent
f2fdece18a
commit
45a51497b6
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ namespace NzbDrone.Core.Datastore
|
||||||
|
|
||||||
public static void Run(string connetionString, bool trace)
|
public static void Run(string connetionString, bool trace)
|
||||||
{
|
{
|
||||||
|
if (IsMigrated) return;
|
||||||
|
IsMigrated = true;
|
||||||
Logger.Info("Preparing run database migration");
|
Logger.Info("Preparing run database migration");
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|
Loading…
Add table
Reference in a new issue