how to solve this error in migration i am using old developer code i don't know how do this i spend 3 4 hours in this but not solve please any one help me
Cannot define PRIMARY KEY constraint on column 'vOid' in table 'table1'. The computed column has to be persisted and not nullable. Could not create constraint or index. See previous errors
public Guid VOid { get; set; }
entity.HasKey(e => e.VOid)
.ForSqlServerIsClustered(false);
entity.Property(e => e.VOid)
.HasColumnName("vOid")
.HasComputedColumnSql("(CONVERT([uniqueidentifier],json_value([value],'$._id'),(0)))")
.ValueGeneratedNever();