mirror of
https://github.com/rafi1212122/BLHX.Server.git
synced 2025-12-14 15:34:37 +01:00
player dbs...
This commit is contained in:
@@ -10,7 +10,8 @@ namespace BLHX.Server.Common.Database
|
||||
|
||||
public AccountContext()
|
||||
{
|
||||
Database.EnsureCreated();
|
||||
if (Database.GetPendingMigrations().Any())
|
||||
Database.Migrate();
|
||||
}
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder options)
|
||||
|
||||
Reference in New Issue
Block a user