C#C
C#2y ago
Lx0044

UniqueIdentifer Type does not exist Ef Core

Good evening everyone,
I am currently looking at moving from SQL Server to Postgres. When using GUID as my Id on tables the initial migration tries to set the column type to uniqueidentifer. I then get this error when running the migration:

Npgsql.PostgresException (0x80004005): 42704: type "uniqueidentifier" does not exist

Any suggestions?
Was this page helpful?