Skip to content

Commit

Permalink
Merge pull request #36 from MahdiyarGHD/develop
Browse files Browse the repository at this point in the history
Remove IsUnique on key field in DbContext for new structure of the contents
  • Loading branch information
Ali-YousefiTelori authored Nov 26, 2023
2 parents 4156aaa + 10a445b commit 8948883
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 520 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
modelBuilder.Entity<CategoryEntity>(model =>
{
model.HasKey(x => x.Id);
model.HasIndex(x => x.Key).IsUnique();
model.Property(x => x.Key).UseCollation("SQL_Latin1_General_CP1_CS_AS");
});

Expand Down
Empty file.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 8948883

Please sign in to comment.