Skip to content

Commit 45b2091

Browse files
committed
fix migrations
Migration history were not created properly needed to recreate history
1 parent 98bebe4 commit 45b2091

6 files changed

+187
-1269
lines changed

CheckDrive.Api/CheckDrive.Infrastructure/Persistence/CheckDriveDbContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class CheckDriveDbContext : IdentityDbContext, ICheckDriveDbContext
2929
public CheckDriveDbContext(DbContextOptions<CheckDriveDbContext> options)
3030
: base(options)
3131
{
32-
Database.EnsureCreated();
32+
// Database.EnsureCreated();
3333
}
3434

3535
protected override void OnModelCreating(ModelBuilder builder)

0 commit comments

Comments
 (0)