Skip to content

Commit

Permalink
Remove_isunique
Browse files Browse the repository at this point in the history
  • Loading branch information
Elyas-Amini committed Nov 28, 2023
1 parent 3199991 commit cc3b78e
Show file tree
Hide file tree
Showing 4 changed files with 499 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
.WithMany(b => b.TicketDepartments)
.HasForeignKey(bc => bc.DepartmentId);

model.HasIndex(bc => bc.TicketId).IsUnique();

});
modelBuilder.Entity<TicketSupportTimeHistoryEntity>(model =>
Expand All @@ -79,7 +78,6 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
.WithMany(b => b.TicketAssigns)
.HasForeignKey(bc => bc.TicketId);

model.HasIndex(bc => bc.TicketId).IsUnique();
});
modelBuilder.Entity<TicketDiscussionEntity>(model =>
{
Expand Down
Loading

0 comments on commit cc3b78e

Please sign in to comment.