| | | 1 | | // <auto-generated /> |
| | | 2 | | using System; |
| | | 3 | | using Microsoft.EntityFrameworkCore; |
| | | 4 | | using Microsoft.EntityFrameworkCore.Infrastructure; |
| | | 5 | | using Microsoft.EntityFrameworkCore.Storage.ValueConversion; |
| | | 6 | | using ProjectTemplate.Infrastructure.Data; |
| | | 7 | | |
| | | 8 | | #nullable disable |
| | | 9 | | |
| | | 10 | | namespace ProjectTemplate.Infrastructure.Data.Migrations |
| | | 11 | | { |
| | | 12 | | [DbContext(typeof(ApplicationDbContext))] |
| | | 13 | | partial class ApplicationDbContextModelSnapshot : ModelSnapshot |
| | | 14 | | { |
| | | 15 | | protected override void BuildModel(ModelBuilder modelBuilder) |
| | | 16 | | { |
| | | 17 | | #pragma warning disable 612, 618 |
| | 2 | 18 | | modelBuilder.HasAnnotation("ProductVersion", "10.0.8"); |
| | | 19 | | |
| | 2 | 20 | | modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.AuditRecord", b => |
| | 2 | 21 | | { |
| | 2 | 22 | | b.Property<Guid>("Id") |
| | 2 | 23 | | .HasColumnType("TEXT"); |
| | 2 | 24 | | |
| | 2 | 25 | | b.Property<string>("Application") |
| | 2 | 26 | | .IsRequired() |
| | 2 | 27 | | .HasMaxLength(200) |
| | 2 | 28 | | .HasColumnType("TEXT"); |
| | 2 | 29 | | |
| | 2 | 30 | | b.Property<string>("ConcurrencyStamp") |
| | 2 | 31 | | .IsConcurrencyToken() |
| | 2 | 32 | | .IsRequired() |
| | 2 | 33 | | .HasMaxLength(64) |
| | 2 | 34 | | .HasColumnType("TEXT"); |
| | 2 | 35 | | |
| | 2 | 36 | | b.Property<string>("CurrentValues") |
| | 2 | 37 | | .IsRequired() |
| | 2 | 38 | | .HasColumnType("TEXT"); |
| | 2 | 39 | | |
| | 2 | 40 | | b.Property<string>("Entity") |
| | 2 | 41 | | .IsRequired() |
| | 2 | 42 | | .HasMaxLength(200) |
| | 2 | 43 | | .HasColumnType("TEXT"); |
| | 2 | 44 | | |
| | 2 | 45 | | b.Property<string>("KeyValues") |
| | 2 | 46 | | .IsRequired() |
| | 2 | 47 | | .HasColumnType("TEXT"); |
| | 2 | 48 | | |
| | 2 | 49 | | b.Property<string>("ModifiedBy") |
| | 2 | 50 | | .IsRequired() |
| | 2 | 51 | | .HasMaxLength(200) |
| | 2 | 52 | | .HasColumnType("TEXT"); |
| | 2 | 53 | | |
| | 2 | 54 | | b.Property<DateTime>("ModifiedOnUtc") |
| | 2 | 55 | | .HasPrecision(3) |
| | 2 | 56 | | .HasColumnType("TEXT"); |
| | 2 | 57 | | |
| | 2 | 58 | | b.Property<string>("OriginalValues") |
| | 2 | 59 | | .IsRequired() |
| | 2 | 60 | | .HasColumnType("TEXT"); |
| | 2 | 61 | | |
| | 2 | 62 | | b.Property<string>("State") |
| | 2 | 63 | | .IsRequired() |
| | 2 | 64 | | .HasMaxLength(100) |
| | 2 | 65 | | .HasColumnType("TEXT"); |
| | 2 | 66 | | |
| | 2 | 67 | | b.HasKey("Id"); |
| | 2 | 68 | | |
| | 2 | 69 | | b.ToTable("AuditRecords", (string)null); |
| | 4 | 70 | | }); |
| | | 71 | | |
| | 2 | 72 | | modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ExternalLoginAccount", b => |
| | 2 | 73 | | { |
| | 2 | 74 | | b.Property<Guid>("Id") |
| | 2 | 75 | | .HasColumnType("TEXT"); |
| | 2 | 76 | | |
| | 2 | 77 | | b.Property<string>("ConcurrencyStamp") |
| | 2 | 78 | | .IsConcurrencyToken() |
| | 2 | 79 | | .IsRequired() |
| | 2 | 80 | | .HasMaxLength(64) |
| | 2 | 81 | | .HasColumnType("TEXT"); |
| | 2 | 82 | | |
| | 2 | 83 | | b.Property<DateTime>("CreatedOnUtc") |
| | 2 | 84 | | .HasPrecision(3) |
| | 2 | 85 | | .HasColumnType("TEXT"); |
| | 2 | 86 | | |
| | 2 | 87 | | b.Property<string>("DisplayName") |
| | 2 | 88 | | .HasMaxLength(200) |
| | 2 | 89 | | .HasColumnType("TEXT"); |
| | 2 | 90 | | |
| | 2 | 91 | | b.Property<string>("Email") |
| | 2 | 92 | | .HasMaxLength(320) |
| | 2 | 93 | | .HasColumnType("TEXT"); |
| | 2 | 94 | | |
| | 2 | 95 | | b.Property<DateTime?>("LastLoginOnUtc") |
| | 2 | 96 | | .HasPrecision(3) |
| | 2 | 97 | | .HasColumnType("TEXT"); |
| | 2 | 98 | | |
| | 2 | 99 | | b.Property<Guid>("LocalUserId") |
| | 2 | 100 | | .HasColumnType("TEXT"); |
| | 2 | 101 | | |
| | 2 | 102 | | b.Property<string>("NormalizedEmail") |
| | 2 | 103 | | .HasMaxLength(320) |
| | 2 | 104 | | .HasColumnType("TEXT"); |
| | 2 | 105 | | |
| | 2 | 106 | | b.Property<string>("NormalizedProviderName") |
| | 2 | 107 | | .IsRequired() |
| | 2 | 108 | | .HasMaxLength(100) |
| | 2 | 109 | | .HasColumnType("TEXT"); |
| | 2 | 110 | | |
| | 2 | 111 | | b.Property<string>("ProviderName") |
| | 2 | 112 | | .IsRequired() |
| | 2 | 113 | | .HasMaxLength(100) |
| | 2 | 114 | | .HasColumnType("TEXT"); |
| | 2 | 115 | | |
| | 2 | 116 | | b.Property<string>("ProviderUserId") |
| | 2 | 117 | | .IsRequired() |
| | 2 | 118 | | .HasMaxLength(256) |
| | 2 | 119 | | .HasColumnType("TEXT"); |
| | 2 | 120 | | |
| | 2 | 121 | | b.Property<DateTime?>("UpdatedOnUtc") |
| | 2 | 122 | | .HasPrecision(3) |
| | 2 | 123 | | .HasColumnType("TEXT"); |
| | 2 | 124 | | |
| | 2 | 125 | | b.HasKey("Id"); |
| | 2 | 126 | | |
| | 2 | 127 | | b.HasIndex("Email"); |
| | 2 | 128 | | |
| | 2 | 129 | | b.HasIndex("LocalUserId"); |
| | 2 | 130 | | |
| | 2 | 131 | | b.HasIndex("NormalizedEmail"); |
| | 2 | 132 | | |
| | 2 | 133 | | b.HasIndex("NormalizedProviderName", "ProviderUserId") |
| | 2 | 134 | | .IsUnique(); |
| | 2 | 135 | | |
| | 2 | 136 | | b.ToTable("ExternalLoginAccounts", (string)null); |
| | 4 | 137 | | }); |
| | | 138 | | #pragma warning restore 612, 618 |
| | 2 | 139 | | } |
| | | 140 | | } |
| | | 141 | | } |