mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
Revert "override default table names to Pascal"
This reverts commit 4e9200eefb.
This commit is contained in:
parent
4e9200eefb
commit
a12eb77096
3 changed files with 0 additions and 9 deletions
|
|
@ -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("FilterLists");
|
||||
|
||||
entityTypeBuilder.Property(b => b.Description)
|
||||
.HasMaxLength(1022);
|
||||
|
||||
|
|
|
|||
|
|
@ -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 LanguageTypeConfiguration : BaseEntityTypeConfiguration<Language>
|
|||
{
|
||||
public override void Configure(EntityTypeBuilder<Language> entityTypeBuilder)
|
||||
{
|
||||
entityTypeBuilder.ToTable("Languages");
|
||||
|
||||
entityTypeBuilder.Property(b => b.Iso6391)
|
||||
.HasMaxLength(2);
|
||||
|
||||
|
|
|
|||
|
|
@ -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 MaintainerTypeConfiguration : BaseEntityTypeConfiguration<Maintaine
|
|||
{
|
||||
public override void Configure(EntityTypeBuilder<Maintainer> entityTypeBuilder)
|
||||
{
|
||||
entityTypeBuilder.ToTable("Maintainers");
|
||||
|
||||
entityTypeBuilder.Property(b => b.Email)
|
||||
.HasMaxLength(126);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue