Skip to content

Commit

Permalink
Fix code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-dudarev committed Oct 17, 2023
1 parent 23e9cc5 commit 5b840a8
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
.HasDatabaseName("IX_PlatformDynamicPropertyName_PropertyId_Locale_Name")
.IsUnique(true);


modelBuilder.Entity<DynamicPropertyDictionaryItemEntity>().ToTable("PlatformDynamicPropertyDictionaryItem").HasKey(x => x.Id);
modelBuilder.Entity<DynamicPropertyDictionaryItemEntity>().Property(x => x.Id).HasMaxLength(_idLength128).ValueGeneratedOnAdd();
modelBuilder.Entity<DynamicPropertyDictionaryItemEntity>().Property(x => x.CreatedBy).HasMaxLength(_idLength64);
Expand All @@ -109,7 +108,6 @@ protected override void OnModelCreating(ModelBuilder modelBuilder)
.HasDatabaseName("IX_PlatformDynamicPropertyDictionaryItem_PropertyId_Name")
.IsUnique(true);


modelBuilder.Entity<DynamicPropertyDictionaryItemNameEntity>().ToTable("PlatformDynamicPropertyDictionaryItemName").HasKey(x => x.Id);
modelBuilder.Entity<DynamicPropertyDictionaryItemNameEntity>().Property(x => x.Id).HasMaxLength(_idLength128).ValueGeneratedOnAdd();
modelBuilder.Entity<DynamicPropertyDictionaryItemNameEntity>().Property(x => x.CreatedBy).HasMaxLength(_idLength64);
Expand Down

0 comments on commit 5b840a8

Please sign in to comment.