 As highlighted the enum types give an exception, they are registered using the EF core 9 way https://www.npgsql.org/efcore/mapping/enum.html?tabs=with-connection-string%2Cwith-datasource