Skip to content

Commit

Permalink
Updated UUID
Browse files Browse the repository at this point in the history
  • Loading branch information
garywoodfine committed Aug 13, 2020
1 parent 95b9eb3 commit 9e64a82
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -20,8 +20,8 @@ public void Configure(EntityTypeBuilder<Threat> builder)
.HasColumnName(ColumnName.Identifier)
.HasColumnType(ColumnTypeName.UUID)
.HasDefaultValueSql("uuid_generate_v4()")
.IsRequired()
.ValueGeneratedOnAdd();
.IsRequired();


builder.Property(x => x.Name)
.HasColumnName(ColumnName.Name)
Expand Down

0 comments on commit 9e64a82

Please sign in to comment.