© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
5 replies
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?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

EF Core
C#CC# / help
2y ago
❔ Generic entity type in EF Core
C#CC# / help
4y ago
EF Core not creating migrations
C#CC# / help
14mo ago
Ef core help
C#CC# / help
10mo ago