11 lines
234 B
C#
11 lines
234 B
C#
|
using Microsoft.EntityFrameworkCore;
|
|||
|
|
|||
|
namespace Mirea.Api.DataAccess.Persistence;
|
|||
|
|
|||
|
public static class DbInitializer
|
|||
|
{
|
|||
|
public static void Initialize(DbContext dbContext)
|
|||
|
{
|
|||
|
dbContext.Database.EnsureCreated();
|
|||
|
}
|
|||
|
}
|