We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b07e0be commit 84405e0Copy full SHA for 84405e0
UserManagementApi/DbSeeder.cs
@@ -12,9 +12,6 @@ public static void Seed(IServiceProvider serviceProvider)
12
using var scope = serviceProvider.CreateScope();
13
var context = scope.ServiceProvider.GetRequiredService<AppDbContext>();
14
15
- // Apply pending migrations
16
- context.Database.Migrate();
17
-
18
// Only seed once
19
if (context.Users.Any() || context.Roles.Any() || context.Categories.Any())
20
return;
0 commit comments