Когда я запускаю dotnet migrations add test
, я получаю следующую ошибку:
System.InvalidOperationException: The property 'Alert.DeviceId' is of type 'Guid' which is not supported by current database provider. Either change the property CLR type or ignore the property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.ValidatePropertyMapping(IModel model, IDiagnosticsLogger`1 logger)
at Microsoft.EntityFrameworkCore.Infrastructure.ModelValidator.Validate(IModel model, IDiagnosticsLogger`1 logger)
Я использую Pomelo.EntityFrameworkCore. MySql версия 3.1.1