refactor: change create database to migrate
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 2m1s
All checks were successful
.NET Test Pipeline / build-and-test (pull_request) Successful in 2m1s
This commit is contained in:
parent
d2ba2d982c
commit
827cdaf9f9
@ -6,6 +6,6 @@ public static class DbInitializer
|
||||
{
|
||||
public static void Initialize(DbContext dbContext)
|
||||
{
|
||||
dbContext.Database.EnsureCreated();
|
||||
dbContext.Database.Migrate();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user