When you drop the DB and then try to start the Nodeguard, it crashes for the first time, and then after the second one it works well.
"Error while migrating","Exception":"System.InvalidOperationException: This NpgsqlTransaction has completed; it is no longer usable.
at Npgsql.NpgsqlTransaction.CheckReady()
at Npgsql.NpgsqlTransaction.Commit(Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlTransaction.Commit()
at Microsoft.EntityFrameworkCore.Storage.RelationalTransaction.Commit()
at Microsoft.EntityFrameworkCore.Migrations.Internal.MigrationCommandExecutor.ExecuteNonQuery(IEnumerable`1 migrationCommands, IRelationalConnection connection)
at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration)
at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.Migrate(DatabaseFacade databaseFacade)
at FundsManager.Data.DbInitializer.Initialize(IServiceProvider serviceProvider) in /Users/rodrifs/Documents/Git/nodeguard/src/Data/DbInitializer.cs:line 73","
When you drop the DB and then try to start the Nodeguard, it crashes for the first time, and then after the second one it works well.