< Summary

Line coverage
100%
Covered lines: 121
Uncovered lines: 0
Coverable lines: 121
Total lines: 165
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
File 1: Up(...)100%11100%
File 1: Down(...)100%11100%
File 2: BuildTargetModel(...)100%11100%

File(s)

/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Infrastructure/Data/Migrations/20260530122223_StandardizeTimestampPersistence.cs

#LineLine coverage
 1using Microsoft.EntityFrameworkCore.Migrations;
 2
 3#nullable disable
 4
 5namespace ProjectTemplate.Infrastructure.Data.Migrations;
 6
 7/// <inheritdoc />
 8public partial class StandardizeTimestampPersistence : Migration
 9{
 10    /// <inheritdoc />
 11    protected override void Up(MigrationBuilder migrationBuilder)
 12    {
 13
 114    }
 15
 16    /// <inheritdoc />
 17    protected override void Down(MigrationBuilder migrationBuilder)
 18    {
 19
 120    }
 21}

/home/runner/work/NetCoreApplicationTemplate/NetCoreApplicationTemplate/src/ProjectTemplate.Infrastructure/Data/Migrations/20260530122223_StandardizeTimestampPersistence.Designer.cs

#LineLine coverage
 1// <auto-generated />
 2using System;
 3using Microsoft.EntityFrameworkCore;
 4using Microsoft.EntityFrameworkCore.Infrastructure;
 5using Microsoft.EntityFrameworkCore.Migrations;
 6using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
 7using ProjectTemplate.Infrastructure.Data;
 8
 9#nullable disable
 10
 11namespace ProjectTemplate.Infrastructure.Data.Migrations
 12{
 13    [DbContext(typeof(ApplicationDbContext))]
 14    [Migration("20260530122223_StandardizeTimestampPersistence")]
 15    partial class StandardizeTimestampPersistence
 16    {
 17        /// <inheritdoc />
 18        protected override void BuildTargetModel(ModelBuilder modelBuilder)
 19        {
 20#pragma warning disable 612, 618
 121            modelBuilder.HasAnnotation("ProductVersion", "10.0.8");
 22
 123            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.AuditRecord", b =>
 124                {
 125                    b.Property<Guid>("Id")
 126                        .HasColumnType("TEXT");
 127
 128                    b.Property<string>("Application")
 129                        .IsRequired()
 130                        .HasMaxLength(200)
 131                        .HasColumnType("TEXT");
 132
 133                    b.Property<string>("ConcurrencyStamp")
 134                        .IsConcurrencyToken()
 135                        .IsRequired()
 136                        .HasMaxLength(64)
 137                        .HasColumnType("TEXT");
 138
 139                    b.Property<string>("CurrentValues")
 140                        .IsRequired()
 141                        .HasColumnType("TEXT");
 142
 143                    b.Property<string>("Entity")
 144                        .IsRequired()
 145                        .HasMaxLength(200)
 146                        .HasColumnType("TEXT");
 147
 148                    b.Property<string>("KeyValues")
 149                        .IsRequired()
 150                        .HasColumnType("TEXT");
 151
 152                    b.Property<string>("ModifiedBy")
 153                        .IsRequired()
 154                        .HasMaxLength(200)
 155                        .HasColumnType("TEXT");
 156
 157                    b.Property<DateTime>("ModifiedOnUtc")
 158                        .HasPrecision(3)
 159                        .HasColumnType("TEXT");
 160
 161                    b.Property<string>("OriginalValues")
 162                        .IsRequired()
 163                        .HasColumnType("TEXT");
 164
 165                    b.Property<string>("State")
 166                        .IsRequired()
 167                        .HasMaxLength(100)
 168                        .HasColumnType("TEXT");
 169
 170                    b.HasKey("Id");
 171
 172                    b.ToTable("AuditRecords", (string)null);
 173                });
 74
 175            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ExternalLoginAccount", b =>
 176                {
 177                    b.Property<Guid>("Id")
 178                        .HasColumnType("TEXT");
 179
 180                    b.Property<string>("ConcurrencyStamp")
 181                        .IsConcurrencyToken()
 182                        .IsRequired()
 183                        .HasMaxLength(64)
 184                        .HasColumnType("TEXT");
 185
 186                    b.Property<DateTime>("CreatedOnUtc")
 187                        .HasPrecision(3)
 188                        .HasColumnType("TEXT");
 189
 190                    b.Property<string>("DisplayName")
 191                        .HasMaxLength(200)
 192                        .HasColumnType("TEXT");
 193
 194                    b.Property<string>("Email")
 195                        .HasMaxLength(320)
 196                        .HasColumnType("TEXT");
 197
 198                    b.Property<DateTime?>("LastLoginOnUtc")
 199                        .HasPrecision(3)
 1100                        .HasColumnType("TEXT");
 1101
 1102                    b.Property<Guid>("LocalUserId")
 1103                        .HasColumnType("TEXT");
 1104
 1105                    b.Property<string>("NormalizedEmail")
 1106                        .HasMaxLength(320)
 1107                        .HasColumnType("TEXT");
 1108
 1109                    b.Property<string>("NormalizedProviderName")
 1110                        .IsRequired()
 1111                        .HasMaxLength(100)
 1112                        .HasColumnType("TEXT");
 1113
 1114                    b.Property<string>("ProviderName")
 1115                        .IsRequired()
 1116                        .HasMaxLength(100)
 1117                        .HasColumnType("TEXT");
 1118
 1119                    b.Property<string>("ProviderUserId")
 1120                        .IsRequired()
 1121                        .HasMaxLength(256)
 1122                        .HasColumnType("TEXT");
 1123
 1124                    b.Property<DateTime?>("UpdatedOnUtc")
 1125                        .HasPrecision(3)
 1126                        .HasColumnType("TEXT");
 1127
 1128                    b.HasKey("Id");
 1129
 1130                    b.HasIndex("Email");
 1131
 1132                    b.HasIndex("LocalUserId");
 1133
 1134                    b.HasIndex("NormalizedEmail");
 1135
 1136                    b.HasIndex("NormalizedProviderName", "ProviderUserId")
 1137                        .IsUnique();
 1138
 1139                    b.ToTable("ExternalLoginAccounts", (string)null);
 1140                });
 141#pragma warning restore 612, 618
 1142        }
 143    }
 144}