mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
table name updates
This commit is contained in:
parent
705307e07c
commit
8eec84a655
2 changed files with 1 additions and 4 deletions
|
|
@ -8,7 +8,7 @@ public class FilterListLanguageTypeConfiguration : BaseEntityTypeConfiguration<F
|
|||
{
|
||||
public override void Configure(EntityTypeBuilder<FilterListLanguage> entityTypeBuilder)
|
||||
{
|
||||
entityTypeBuilder.ToTable("filter_lists_languages");
|
||||
entityTypeBuilder.ToTable("FilterLists_Languages");
|
||||
|
||||
entityTypeBuilder.HasKey(x => new {x.FilterListId, x.LanguageId});
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
using FilterLists.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace FilterLists.Data.EntityTypeConfigurations
|
||||
|
|
@ -8,8 +7,6 @@ public class FilterListTypeConfiguration : BaseEntityTypeConfiguration<FilterLis
|
|||
{
|
||||
public override void Configure(EntityTypeBuilder<FilterList> entityTypeBuilder)
|
||||
{
|
||||
entityTypeBuilder.ToTable("filter_lists");
|
||||
|
||||
entityTypeBuilder.Property(b => b.Description)
|
||||
.HasMaxLength(1022);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue