🚑 Ignoring migration error for now
This commit is contained in:
		| @@ -36,7 +36,14 @@ app.MapDefaultEndpoints(); | ||||
| using (var scope = app.Services.CreateScope()) | ||||
| { | ||||
|     var db = scope.ServiceProvider.GetRequiredService<AppDatabase>(); | ||||
|     await db.Database.MigrateAsync(); | ||||
|     try | ||||
|     { | ||||
|         await db.Database.MigrateAsync(); | ||||
|     } | ||||
|     catch (Exception err) | ||||
|     { | ||||
|         Console.WriteLine(err); | ||||
|     } | ||||
| } | ||||
|  | ||||
| // Configure application middleware pipeline | ||||
| @@ -47,4 +54,4 @@ app.ConfigureGrpcServices(); | ||||
|  | ||||
| app.UseSwaggerManifest(); | ||||
|  | ||||
| app.Run(); | ||||
| app.Run(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user