Updated scanner and table names.
This commit is contained in:
@@ -8,7 +8,7 @@ public sealed class VoiceWorkLocalizationConfiguration : IEntityTypeConfiguratio
|
||||
{
|
||||
public void Configure(EntityTypeBuilder<VoiceWorkLocalization> builder)
|
||||
{
|
||||
builder.ToTable("voice_work_localizations");
|
||||
builder.ToTable("VoiceWorkLocalizations");
|
||||
builder.HasKey(x => x.VoiceWorkLocalizationId);
|
||||
|
||||
builder.Property(x => x.Language).IsRequired().HasMaxLength(10);
|
||||
|
||||
@@ -8,7 +8,7 @@ public sealed class VoiceWorkSearchConfiguration : IEntityTypeConfiguration<Voic
|
||||
{
|
||||
public void Configure(EntityTypeBuilder<VoiceWorkSearch> builder)
|
||||
{
|
||||
builder.ToTable("VoiceWorkSearches2");
|
||||
builder.ToTable("VoiceWorkSearches");
|
||||
builder.HasKey(x => x.VoiceWorkId); // also the FK
|
||||
|
||||
builder.Property(x => x.SearchText).IsRequired(); // TEXT/LONGTEXT
|
||||
|
||||
@@ -8,7 +8,7 @@ public sealed class VoiceWorkSupportedLanguageConfiguration : IEntityTypeConfigu
|
||||
{
|
||||
public void Configure(EntityTypeBuilder<VoiceWorkSupportedLanguage> builder)
|
||||
{
|
||||
builder.ToTable("voice_work_supported_languages");
|
||||
builder.ToTable("VoiceWorkSupportedLanguages");
|
||||
builder.HasKey(x => x.VoiceWorkSupportedLanguageId);
|
||||
|
||||
builder.Property(x => x.Language).IsRequired().HasMaxLength(10);
|
||||
|
||||
Reference in New Issue
Block a user