Reload Npgsql types after migrations
This commit is contained in:
1 parent
c97759b04c
commit
c54744d8e5
1 file changed
+2
@@ -46,6 +46,8 @@ public static class Migrator
|
||||
{
|
||||
await connection.ExecuteAsync("select pg_advisory_unlock(hashtext(@name))", new { name = LockName });
|
||||
}
|
||||
|
||||
await db.DataSource.ReloadTypesAsync(cancellationToken);
|
||||
}
|
||||
|
||||
static IEnumerable<(string Version, string Sql)> LoadMigrations()
|
||||
|
||||
Reference in new issue
Block a user