MireaBackend/SqlData/Persistence/DbInitializer.cs

11 lines
228 B
C#
Raw Normal View History

using Microsoft.EntityFrameworkCore;
namespace Mirea.Api.DataAccess.Persistence;
public static class DbInitializer
{
public static void Initialize(DbContext dbContext)
{
dbContext.Database.Migrate();
}
}