mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
huge commit for advanced stats feature.
broke data out into its own library. may be breaking changes with existing plugins
This commit is contained in:
10
Data/Extensions/Extensions.cs
Normal file
10
Data/Extensions/Extensions.cs
Normal file
@ -0,0 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Data.Extensions
|
||||
{
|
||||
public static class MigrationExtensions
|
||||
{
|
||||
public static bool IsMigration => Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") == "Migration";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user