2021-07-21 06:58:49 +00:00
|
|
|
|
// <auto-generated />
|
2021-07-21 00:08:57 +00:00
|
|
|
|
using System;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
2021-07-21 06:58:49 +00:00
|
|
|
|
using Props.Data;
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
|
|
|
|
namespace Props.Data.Migrations
|
|
|
|
|
{
|
|
|
|
|
[DbContext(typeof(ApplicationDbContext))]
|
|
|
|
|
partial class ApplicationDbContextModelSnapshot : ModelSnapshot
|
|
|
|
|
{
|
|
|
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
|
|
|
{
|
|
|
|
|
#pragma warning disable 612, 618
|
|
|
|
|
modelBuilder
|
2021-07-21 06:58:49 +00:00
|
|
|
|
.HasAnnotation("ProductVersion", "5.0.8");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRole", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<string>("Id")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp")
|
|
|
|
|
.IsConcurrencyToken()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
2021-07-21 06:58:49 +00:00
|
|
|
|
.HasMaxLength(256)
|
|
|
|
|
.HasColumnType("TEXT");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
|
|
|
|
b.Property<string>("NormalizedName")
|
2021-07-21 06:58:49 +00:00
|
|
|
|
.HasMaxLength(256)
|
|
|
|
|
.HasColumnType("TEXT");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("NormalizedName")
|
|
|
|
|
.IsUnique()
|
2021-07-21 06:58:49 +00:00
|
|
|
|
.HasDatabaseName("RoleNameIndex");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
|
|
|
|
b.ToTable("AspNetRoles");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim<string>", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ClaimType")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ClaimValue")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("RoleId")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("RoleId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("AspNetRoleClaims");
|
|
|
|
|
});
|
|
|
|
|
|
2021-07-21 06:58:49 +00:00
|
|
|
|
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<string>", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ClaimType")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ClaimValue")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("UserId")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("AspNetUserClaims");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<string>", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<string>("LoginProvider")
|
|
|
|
|
.HasMaxLength(128)
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ProviderKey")
|
|
|
|
|
.HasMaxLength(128)
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ProviderDisplayName")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("UserId")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.HasKey("LoginProvider", "ProviderKey");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("UserId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("AspNetUserLogins");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole<string>", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<string>("UserId")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("RoleId")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.HasKey("UserId", "RoleId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("RoleId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("AspNetUserRoles");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<string>", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<string>("UserId")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LoginProvider")
|
|
|
|
|
.HasMaxLength(128)
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.HasMaxLength(128)
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Value")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.HasKey("UserId", "LoginProvider", "Name");
|
|
|
|
|
|
|
|
|
|
b.ToTable("AspNetUserTokens");
|
|
|
|
|
});
|
|
|
|
|
|
2021-07-22 21:12:27 +00:00
|
|
|
|
modelBuilder.Entity("Props.Models.ResultsPreferences", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ApplicationUserId")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Order")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ProfileName")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("ApplicationUserId")
|
|
|
|
|
.IsUnique();
|
|
|
|
|
|
|
|
|
|
b.ToTable("ResultsPreferences");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Props.Models.Search.ProductListingInfo", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<uint>("Hits")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
2021-08-09 18:32:16 +00:00
|
|
|
|
b.Property<string>("ProductListing")
|
2021-07-22 21:12:27 +00:00
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
2021-08-09 18:32:16 +00:00
|
|
|
|
b.Property<string>("ProductListingIdentifier")
|
2021-07-22 21:12:27 +00:00
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
2021-08-05 06:22:19 +00:00
|
|
|
|
b.Property<string>("ShopName")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
2021-07-22 21:12:27 +00:00
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
2021-08-05 06:22:19 +00:00
|
|
|
|
b.ToTable("ProductListingInfos");
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Props.Models.Search.QueryWordInfo", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<uint>("Hits")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Word")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
2021-08-17 07:59:01 +00:00
|
|
|
|
b.ToTable("QueryWords");
|
2021-07-22 21:12:27 +00:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Props.Models.Search.SearchOutline", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
2021-08-17 07:59:01 +00:00
|
|
|
|
b.Property<string>("DisabledShops")
|
2021-07-22 21:12:27 +00:00
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Filters")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
2021-08-05 06:22:19 +00:00
|
|
|
|
b.Property<string>("Name")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
2021-08-17 07:59:01 +00:00
|
|
|
|
b.Property<int>("SearchOutlinePreferencesId")
|
2021-08-05 06:22:19 +00:00
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
2021-07-22 21:12:27 +00:00
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
2021-08-05 06:22:19 +00:00
|
|
|
|
b.HasIndex("SearchOutlinePreferencesId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("SearchOutline");
|
2021-07-22 21:12:27 +00:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Props.Models.User.ApplicationUser", b =>
|
2021-07-21 00:08:57 +00:00
|
|
|
|
{
|
|
|
|
|
b.Property<string>("Id")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("AccessFailedCount")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp")
|
|
|
|
|
.IsConcurrencyToken()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Email")
|
2021-07-21 06:58:49 +00:00
|
|
|
|
.HasMaxLength(256)
|
|
|
|
|
.HasColumnType("TEXT");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
|
|
|
|
b.Property<bool>("EmailConfirmed")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("LockoutEnabled")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTimeOffset?>("LockoutEnd")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("NormalizedEmail")
|
2021-07-21 06:58:49 +00:00
|
|
|
|
.HasMaxLength(256)
|
|
|
|
|
.HasColumnType("TEXT");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
|
|
|
|
b.Property<string>("NormalizedUserName")
|
2021-07-21 06:58:49 +00:00
|
|
|
|
.HasMaxLength(256)
|
|
|
|
|
.HasColumnType("TEXT");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
|
|
|
|
b.Property<string>("PasswordHash")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("PhoneNumber")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("PhoneNumberConfirmed")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("SecurityStamp")
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
|
|
|
|
b.Property<bool>("TwoFactorEnabled")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("UserName")
|
2021-07-21 06:58:49 +00:00
|
|
|
|
.HasMaxLength(256)
|
|
|
|
|
.HasColumnType("TEXT");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("NormalizedEmail")
|
2021-07-21 06:58:49 +00:00
|
|
|
|
.HasDatabaseName("EmailIndex");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
|
|
|
|
b.HasIndex("NormalizedUserName")
|
|
|
|
|
.IsUnique()
|
2021-07-21 06:58:49 +00:00
|
|
|
|
.HasDatabaseName("UserNameIndex");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
|
|
|
|
b.ToTable("AspNetUsers");
|
|
|
|
|
});
|
|
|
|
|
|
2021-08-05 06:22:19 +00:00
|
|
|
|
modelBuilder.Entity("Props.Models.User.SearchOutlinePreferences", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ApplicationUserId")
|
|
|
|
|
.IsRequired()
|
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
2021-08-17 07:59:01 +00:00
|
|
|
|
b.Property<string>("NameOfLastUsed")
|
|
|
|
|
.HasColumnType("TEXT");
|
2021-08-05 06:22:19 +00:00
|
|
|
|
|
2021-08-17 07:59:01 +00:00
|
|
|
|
b.HasKey("Id");
|
2021-08-05 06:22:19 +00:00
|
|
|
|
|
|
|
|
|
b.HasIndex("ApplicationUserId")
|
|
|
|
|
.IsUnique();
|
|
|
|
|
|
|
|
|
|
b.ToTable("SearchOutlinePreferences");
|
|
|
|
|
});
|
|
|
|
|
|
2021-07-21 06:58:49 +00:00
|
|
|
|
modelBuilder.Entity("Props.Shared.Models.User.ApplicationPreferences", b =>
|
2021-07-21 00:08:57 +00:00
|
|
|
|
{
|
2021-07-21 06:58:49 +00:00
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ApplicationUserId")
|
|
|
|
|
.IsRequired()
|
2021-07-21 00:08:57 +00:00
|
|
|
|
.HasColumnType("TEXT");
|
|
|
|
|
|
2021-07-21 06:58:49 +00:00
|
|
|
|
b.Property<bool>("DarkMode")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
2021-07-21 06:58:49 +00:00
|
|
|
|
b.Property<bool>("EnableSearchHistory")
|
|
|
|
|
.HasColumnType("INTEGER");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
2021-07-21 06:58:49 +00:00
|
|
|
|
b.HasKey("Id");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
2021-07-21 06:58:49 +00:00
|
|
|
|
b.HasIndex("ApplicationUserId")
|
|
|
|
|
.IsUnique();
|
2021-07-21 00:08:57 +00:00
|
|
|
|
|
2021-07-21 06:58:49 +00:00
|
|
|
|
b.ToTable("ApplicationPreferences");
|
2021-07-21 00:08:57 +00:00
|
|
|
|
});
|
|
|
|
|
|
2021-08-05 06:22:19 +00:00
|
|
|
|
modelBuilder.Entity("QueryWordInfoQueryWordInfo", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("FollowingId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.Property<int>("PrecedingId")
|
|
|
|
|
.HasColumnType("INTEGER");
|
|
|
|
|
|
|
|
|
|
b.HasKey("FollowingId", "PrecedingId");
|
|
|
|
|
|
|
|
|
|
b.HasIndex("PrecedingId");
|
|
|
|
|
|
|
|
|
|
b.ToTable("QueryWordInfoQueryWordInfo");
|
|
|
|
|
});
|
|
|
|
|
|
2021-07-21 00:08:57 +00:00
|
|
|
|
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim<string>", b =>
|
|
|
|
|
{
|
|
|
|
|
b.HasOne("Microsoft.AspNetCore.Identity.IdentityRole", null)
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("RoleId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<string>", b =>
|
|
|
|
|
{
|
2021-07-22 21:12:27 +00:00
|
|
|
|
b.HasOne("Props.Models.User.ApplicationUser", null)
|
2021-07-21 00:08:57 +00:00
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<string>", b =>
|
|
|
|
|
{
|
2021-07-22 21:12:27 +00:00
|
|
|
|
b.HasOne("Props.Models.User.ApplicationUser", null)
|
2021-07-21 00:08:57 +00:00
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole<string>", b =>
|
|
|
|
|
{
|
|
|
|
|
b.HasOne("Microsoft.AspNetCore.Identity.IdentityRole", null)
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("RoleId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
2021-07-22 21:12:27 +00:00
|
|
|
|
b.HasOne("Props.Models.User.ApplicationUser", null)
|
2021-07-21 00:08:57 +00:00
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<string>", b =>
|
|
|
|
|
{
|
2021-07-22 21:12:27 +00:00
|
|
|
|
b.HasOne("Props.Models.User.ApplicationUser", null)
|
2021-07-21 00:08:57 +00:00
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("UserId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
});
|
2021-07-21 06:58:49 +00:00
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Props.Models.ResultsPreferences", b =>
|
|
|
|
|
{
|
2021-07-22 21:12:27 +00:00
|
|
|
|
b.HasOne("Props.Models.User.ApplicationUser", "ApplicationUser")
|
2021-07-21 06:58:49 +00:00
|
|
|
|
.WithOne("ResultsPreferences")
|
|
|
|
|
.HasForeignKey("Props.Models.ResultsPreferences", "ApplicationUserId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2021-07-22 21:12:27 +00:00
|
|
|
|
|
|
|
|
|
b.Navigation("ApplicationUser");
|
2021-07-21 06:58:49 +00:00
|
|
|
|
});
|
|
|
|
|
|
2021-07-22 21:12:27 +00:00
|
|
|
|
modelBuilder.Entity("Props.Models.Search.SearchOutline", b =>
|
2021-07-21 06:58:49 +00:00
|
|
|
|
{
|
2021-08-17 07:59:01 +00:00
|
|
|
|
b.HasOne("Props.Models.User.SearchOutlinePreferences", "SearchOutlinePreferences")
|
|
|
|
|
.WithMany("SearchOutlines")
|
|
|
|
|
.HasForeignKey("SearchOutlinePreferencesId")
|
2021-07-21 06:58:49 +00:00
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2021-07-22 21:12:27 +00:00
|
|
|
|
|
2021-08-17 07:59:01 +00:00
|
|
|
|
b.Navigation("SearchOutlinePreferences");
|
2021-08-05 06:22:19 +00:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Props.Models.User.SearchOutlinePreferences", b =>
|
|
|
|
|
{
|
|
|
|
|
b.HasOne("Props.Models.User.ApplicationUser", "ApplicationUser")
|
|
|
|
|
.WithOne("searchOutlinePreferences")
|
|
|
|
|
.HasForeignKey("Props.Models.User.SearchOutlinePreferences", "ApplicationUserId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
2021-07-22 21:12:27 +00:00
|
|
|
|
b.Navigation("ApplicationUser");
|
2021-07-21 06:58:49 +00:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Props.Shared.Models.User.ApplicationPreferences", b =>
|
|
|
|
|
{
|
2021-07-22 21:12:27 +00:00
|
|
|
|
b.HasOne("Props.Models.User.ApplicationUser", "ApplicationUser")
|
2021-07-21 06:58:49 +00:00
|
|
|
|
.WithOne("ApplicationPreferences")
|
|
|
|
|
.HasForeignKey("Props.Shared.Models.User.ApplicationPreferences", "ApplicationUserId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
2021-07-22 21:12:27 +00:00
|
|
|
|
|
|
|
|
|
b.Navigation("ApplicationUser");
|
2021-07-21 06:58:49 +00:00
|
|
|
|
});
|
|
|
|
|
|
2021-08-05 06:22:19 +00:00
|
|
|
|
modelBuilder.Entity("QueryWordInfoQueryWordInfo", b =>
|
|
|
|
|
{
|
|
|
|
|
b.HasOne("Props.Models.Search.QueryWordInfo", null)
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("FollowingId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
b.HasOne("Props.Models.Search.QueryWordInfo", null)
|
|
|
|
|
.WithMany()
|
|
|
|
|
.HasForeignKey("PrecedingId")
|
|
|
|
|
.OnDelete(DeleteBehavior.Cascade)
|
|
|
|
|
.IsRequired();
|
|
|
|
|
});
|
|
|
|
|
|
2021-07-22 21:12:27 +00:00
|
|
|
|
modelBuilder.Entity("Props.Models.User.ApplicationUser", b =>
|
2021-07-21 06:58:49 +00:00
|
|
|
|
{
|
|
|
|
|
b.Navigation("ApplicationPreferences")
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
|
|
|
|
b.Navigation("ResultsPreferences")
|
|
|
|
|
.IsRequired();
|
|
|
|
|
|
2021-08-05 06:22:19 +00:00
|
|
|
|
b.Navigation("searchOutlinePreferences")
|
|
|
|
|
.IsRequired();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("Props.Models.User.SearchOutlinePreferences", b =>
|
|
|
|
|
{
|
2021-07-22 21:12:27 +00:00
|
|
|
|
b.Navigation("SearchOutlines");
|
2021-07-21 06:58:49 +00:00
|
|
|
|
});
|
2021-07-21 00:08:57 +00:00
|
|
|
|
#pragma warning restore 612, 618
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|