Using EF-Core for PostgresSQL, I have an entity with a field of type byte
but decided to change it to type byte[]
. But when I do migrations, on applying the migration file generated, it threw the following exception:
Npgsql.PostgresException (0x80004005): 42804: column "Logo" cannot be cast automatically to type bytea
我在互联网上寻找解决办法,但我看到,与其他数据类型,而不是星阵列存在类似问题。 请提供帮助。