IW4M-Admin/Data/Extensions/Extensions.cs

10 lines
256 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
namespace Data.Extensions
{
public static class MigrationExtensions
{
public static bool IsMigration => Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") == "Migration";
}
}