Files
magman/MagMan.Data.Admin/Migrations/UserIdentityDb/UserIdentityDbContextModelSnapshot.cs
2024-07-05 15:52:49 +02:00

397 lines
16 KiB
C#

// <auto-generated />
using System;
using MagMan.Data.Admin;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace MagMan.Data.Admin.Migrations.UserIdentityDb
{
[DbContext(typeof(IdentityContext))]
partial class UserIdentityDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "6.0.28")
.HasAnnotation("Relational:MaxIdentifierLength", 64);
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRole", b =>
{
b.Property<string>("Id")
.HasColumnType("varchar(255)");
b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken()
.HasColumnType("longtext");
b.Property<string>("Name")
.HasMaxLength(256)
.HasColumnType("varchar(256)");
b.Property<string>("NormalizedName")
.HasMaxLength(256)
.HasColumnType("varchar(256)");
b.HasKey("Id");
b.HasIndex("NormalizedName")
.IsUnique()
.HasDatabaseName("RoleNameIndex");
b.ToTable("AspNetRoles", (string)null);
b.HasData(
new
{
Id = "61898d91-a58c-4fcb-8da2-5078e32bb1eb",
ConcurrencyStamp = "f280c659-3676-4661-b66d-dcb5c6963fd1",
Name = "Undef",
NormalizedName = "UNDEF"
},
new
{
Id = "ef658f55-424b-4a45-a8bc-a2a6297e9e10",
ConcurrencyStamp = "9d095d39-178a-4471-a037-a13b3ab4f101",
Name = "User",
NormalizedName = "USER"
},
new
{
Id = "aa2e0987-62fd-4048-9deb-6e3c7f671865",
ConcurrencyStamp = "2609bd9d-b405-4a8c-bfa7-2bcab3ad38aa",
Name = "SuperUser",
NormalizedName = "SUPERUSER"
},
new
{
Id = "e63dae22-57dc-4dc6-bef5-be0928d98dd3",
ConcurrencyStamp = "3975cad2-c02b-4c93-86e2-86b29f596dd3",
Name = "Admin",
NormalizedName = "ADMIN"
},
new
{
Id = "9be32f20-0eee-4fac-97ab-00485b01b9d9",
ConcurrencyStamp = "2a080580-37cd-4b9e-8a99-ce9d99fe3b4f",
Name = "SuperAdmin",
NormalizedName = "SUPERADMIN"
});
});
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim<string>", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
b.Property<string>("ClaimType")
.HasColumnType("longtext");
b.Property<string>("ClaimValue")
.HasColumnType("longtext");
b.Property<string>("RoleId")
.IsRequired()
.HasColumnType("varchar(255)");
b.HasKey("Id");
b.HasIndex("RoleId");
b.ToTable("AspNetRoleClaims", (string)null);
});
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUser", b =>
{
b.Property<string>("Id")
.HasColumnType("varchar(255)");
b.Property<int>("AccessFailedCount")
.HasColumnType("int");
b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken()
.HasColumnType("longtext");
b.Property<string>("Email")
.HasMaxLength(256)
.HasColumnType("varchar(256)");
b.Property<bool>("EmailConfirmed")
.HasColumnType("tinyint(1)");
b.Property<bool>("LockoutEnabled")
.HasColumnType("tinyint(1)");
b.Property<DateTimeOffset?>("LockoutEnd")
.HasColumnType("datetime(6)");
b.Property<string>("NormalizedEmail")
.HasMaxLength(256)
.HasColumnType("varchar(256)");
b.Property<string>("NormalizedUserName")
.HasMaxLength(256)
.HasColumnType("varchar(256)");
b.Property<string>("PasswordHash")
.HasColumnType("longtext");
b.Property<string>("PhoneNumber")
.HasColumnType("longtext");
b.Property<bool>("PhoneNumberConfirmed")
.HasColumnType("tinyint(1)");
b.Property<string>("SecurityStamp")
.HasColumnType("longtext");
b.Property<bool>("TwoFactorEnabled")
.HasColumnType("tinyint(1)");
b.Property<string>("UserName")
.HasMaxLength(256)
.HasColumnType("varchar(256)");
b.HasKey("Id");
b.HasIndex("NormalizedEmail")
.HasDatabaseName("EmailIndex");
b.HasIndex("NormalizedUserName")
.IsUnique()
.HasDatabaseName("UserNameIndex");
b.ToTable("AspNetUsers", (string)null);
b.HasData(
new
{
Id = "0a01453d-17db-4c3a-87dd-33ce18974aac",
AccessFailedCount = 0,
ConcurrencyStamp = "775cec82-a98f-4575-bb6c-743b6c1fc79e",
Email = "samuele.locatelli@egalware.com",
EmailConfirmed = true,
LockoutEnabled = false,
NormalizedEmail = "SAMUELE.LOCATELLI@EGALWARE.COM",
NormalizedUserName = "SAMUELE.LOCATELLI@EGALWARE.COM",
PasswordHash = "AQAAAAEAACcQAAAAEBLzPhI6ILF8fuQrEgkH8+rFWDFWviVTf+DnWoDutRb5LOt5LnuDmya/Wbmh/5FoBw==",
PhoneNumberConfirmed = false,
SecurityStamp = "7108c3f4-99b2-4901-b056-aba4a0cdb304",
TwoFactorEnabled = false,
UserName = "samuele.locatelli@egalware.com"
},
new
{
Id = "bba018ae-56c2-43d6-babd-50616c1fe826",
AccessFailedCount = 0,
ConcurrencyStamp = "f96737d1-b63d-4e98-a55d-b3205971df78",
Email = "emmanuele.sassi@egalware.com",
EmailConfirmed = true,
LockoutEnabled = false,
NormalizedEmail = "EMMANUELE.SASSI@EGALWARE.COM",
NormalizedUserName = "EMMANUELE.SASSI@EGALWARE.COM",
PasswordHash = "AQAAAAEAACcQAAAAEOBoFtuiYZGMpUltyIepbFz9bI9LLoAEo8fnjPVsnShl73RHlLZNJjBG+Oh2GgGxFg==",
PhoneNumberConfirmed = false,
SecurityStamp = "74bc6030-02e8-4237-aac4-d0062277dfc8",
TwoFactorEnabled = false,
UserName = "emmanuele.sassi@egalware.com"
},
new
{
Id = "be99d5c7-f8c3-4429-b6de-ecb2032b0658",
AccessFailedCount = 0,
ConcurrencyStamp = "f7babbe0-0ab9-4428-bbb4-0cac6f4ee404",
Email = "luca.mazzoleni@egalware.com",
EmailConfirmed = true,
LockoutEnabled = false,
NormalizedEmail = "LUCA.MAZZOLENI@EGALWARE.COM",
NormalizedUserName = "LUCA.MAZZOLENI@EGALWARE.COM",
PasswordHash = "AQAAAAEAACcQAAAAENL3XhLx/+KxlDD3wJPCnj/BTJTNTP0hIuspu2Xlj/TLxDZ1yz6im0V9eqUwzjhJyw==",
PhoneNumberConfirmed = false,
SecurityStamp = "f7779584-e160-4c37-ba19-4d2702412da5",
TwoFactorEnabled = false,
UserName = "luca.mazzoleni@egalware.com"
},
new
{
Id = "aca6c684-1cb3-4cc8-ab59-ce27d6879a8c",
AccessFailedCount = 0,
ConcurrencyStamp = "e2eca078-1adf-45a2-ba6a-c39497107845",
Email = "info@egalware.com",
EmailConfirmed = true,
LockoutEnabled = false,
NormalizedEmail = "INFO@EGALWARE.COM",
NormalizedUserName = "INFO@EGALWARE.COM",
PasswordHash = "AQAAAAEAACcQAAAAELj8C6+r2T6zDvEFiDcDkW78l0oeO8aE51Y3WFeEiXUeCoPO2WjBY3MW1VRwpmF8aQ==",
PhoneNumberConfirmed = false,
SecurityStamp = "7e1ff0bc-c55c-413f-9721-56ce3aa6c687",
TwoFactorEnabled = false,
UserName = "info@egalware.com"
});
});
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim<string>", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
b.Property<string>("ClaimType")
.HasColumnType("longtext");
b.Property<string>("ClaimValue")
.HasColumnType("longtext");
b.Property<string>("UserId")
.IsRequired()
.HasColumnType("varchar(255)");
b.HasKey("Id");
b.HasIndex("UserId");
b.ToTable("AspNetUserClaims", (string)null);
});
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<string>", b =>
{
b.Property<string>("LoginProvider")
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property<string>("ProviderKey")
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property<string>("ProviderDisplayName")
.HasColumnType("longtext");
b.Property<string>("UserId")
.IsRequired()
.HasColumnType("varchar(255)");
b.HasKey("LoginProvider", "ProviderKey");
b.HasIndex("UserId");
b.ToTable("AspNetUserLogins", (string)null);
});
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole<string>", b =>
{
b.Property<string>("UserId")
.HasColumnType("varchar(255)");
b.Property<string>("RoleId")
.HasColumnType("varchar(255)");
b.HasKey("UserId", "RoleId");
b.HasIndex("RoleId");
b.ToTable("AspNetUserRoles", (string)null);
b.HasData(
new
{
UserId = "0a01453d-17db-4c3a-87dd-33ce18974aac",
RoleId = "9be32f20-0eee-4fac-97ab-00485b01b9d9"
},
new
{
UserId = "bba018ae-56c2-43d6-babd-50616c1fe826",
RoleId = "9be32f20-0eee-4fac-97ab-00485b01b9d9"
},
new
{
UserId = "be99d5c7-f8c3-4429-b6de-ecb2032b0658",
RoleId = "ef658f55-424b-4a45-a8bc-a2a6297e9e10"
},
new
{
UserId = "aca6c684-1cb3-4cc8-ab59-ce27d6879a8c",
RoleId = "ef658f55-424b-4a45-a8bc-a2a6297e9e10"
});
});
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<string>", b =>
{
b.Property<string>("UserId")
.HasColumnType("varchar(255)");
b.Property<string>("LoginProvider")
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property<string>("Name")
.HasMaxLength(128)
.HasColumnType("varchar(128)");
b.Property<string>("Value")
.HasColumnType("longtext");
b.HasKey("UserId", "LoginProvider", "Name");
b.ToTable("AspNetUserTokens", (string)null);
});
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 =>
{
b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null)
.WithMany()
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin<string>", b =>
{
b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null)
.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();
b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null)
.WithMany()
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken<string>", b =>
{
b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null)
.WithMany()
.HasForeignKey("UserId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
#pragma warning restore 612, 618
}
}
}