Fixed issue where migrration would run on every page load.

pull/4/head
kay.one 14 years ago
parent f2fdece18a
commit 45a51497b6

@ -12,6 +12,8 @@ namespace NzbDrone.Core.Datastore
public static void Run(string connetionString, bool trace)
{
if (IsMigrated) return;
IsMigrated = true;
Logger.Info("Preparing run database migration");
try

Loading…
Cancel
Save