< 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
 214    }
 15
 16    /// <inheritdoc />
 17    protected override void Down(MigrationBuilder migrationBuilder)
 18    {
 19
 220    }
 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
 221            modelBuilder.HasAnnotation("ProductVersion", "10.0.8");
 22
 223            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.AuditRecord", b =>
 224                {
 225                    b.Property<Guid>("Id")
 226                        .HasColumnType("TEXT");
 227
 228                    b.Property<string>("Application")
 229                        .IsRequired()
 230                        .HasMaxLength(200)
 231                        .HasColumnType("TEXT");
 232
 233                    b.Property<string>("ConcurrencyStamp")
 234                        .IsConcurrencyToken()
 235                        .IsRequired()
 236                        .HasMaxLength(64)
 237                        .HasColumnType("TEXT");
 238
 239                    b.Property<string>("CurrentValues")
 240                        .IsRequired()
 241                        .HasColumnType("TEXT");
 242
 243                    b.Property<string>("Entity")
 244                        .IsRequired()
 245                        .HasMaxLength(200)
 246                        .HasColumnType("TEXT");
 247
 248                    b.Property<string>("KeyValues")
 249                        .IsRequired()
 250                        .HasColumnType("TEXT");
 251
 252                    b.Property<string>("ModifiedBy")
 253                        .IsRequired()
 254                        .HasMaxLength(200)
 255                        .HasColumnType("TEXT");
 256
 257                    b.Property<DateTime>("ModifiedOnUtc")
 258                        .HasPrecision(3)
 259                        .HasColumnType("TEXT");
 260
 261                    b.Property<string>("OriginalValues")
 262                        .IsRequired()
 263                        .HasColumnType("TEXT");
 264
 265                    b.Property<string>("State")
 266                        .IsRequired()
 267                        .HasMaxLength(100)
 268                        .HasColumnType("TEXT");
 269
 270                    b.HasKey("Id");
 271
 272                    b.ToTable("AuditRecords", (string)null);
 473                });
 74
 275            modelBuilder.Entity("ProjectTemplate.Infrastructure.Data.Entities.ExternalLoginAccount", b =>
 276                {
 277                    b.Property<Guid>("Id")
 278                        .HasColumnType("TEXT");
 279
 280                    b.Property<string>("ConcurrencyStamp")
 281                        .IsConcurrencyToken()
 282                        .IsRequired()
 283                        .HasMaxLength(64)
 284                        .HasColumnType("TEXT");
 285
 286                    b.Property<DateTime>("CreatedOnUtc")
 287                        .HasPrecision(3)
 288                        .HasColumnType("TEXT");
 289
 290                    b.Property<string>("DisplayName")
 291                        .HasMaxLength(200)
 292                        .HasColumnType("TEXT");
 293
 294                    b.Property<string>("Email")
 295                        .HasMaxLength(320)
 296                        .HasColumnType("TEXT");
 297
 298                    b.Property<DateTime?>("LastLoginOnUtc")
 299                        .HasPrecision(3)
 2100                        .HasColumnType("TEXT");
 2101
 2102                    b.Property<Guid>("LocalUserId")
 2103                        .HasColumnType("TEXT");
 2104
 2105                    b.Property<string>("NormalizedEmail")
 2106                        .HasMaxLength(320)
 2107                        .HasColumnType("TEXT");
 2108
 2109                    b.Property<string>("NormalizedProviderName")
 2110                        .IsRequired()
 2111                        .HasMaxLength(100)
 2112                        .HasColumnType("TEXT");
 2113
 2114                    b.Property<string>("ProviderName")
 2115                        .IsRequired()
 2116                        .HasMaxLength(100)
 2117                        .HasColumnType("TEXT");
 2118
 2119                    b.Property<string>("ProviderUserId")
 2120                        .IsRequired()
 2121                        .HasMaxLength(256)
 2122                        .HasColumnType("TEXT");
 2123
 2124                    b.Property<DateTime?>("UpdatedOnUtc")
 2125                        .HasPrecision(3)
 2126                        .HasColumnType("TEXT");
 2127
 2128                    b.HasKey("Id");
 2129
 2130                    b.HasIndex("Email");
 2131
 2132                    b.HasIndex("LocalUserId");
 2133
 2134                    b.HasIndex("NormalizedEmail");
 2135
 2136                    b.HasIndex("NormalizedProviderName", "ProviderUserId")
 2137                        .IsUnique();
 2138
 2139                    b.ToTable("ExternalLoginAccounts", (string)null);
 4140                });
 141#pragma warning restore 612, 618
 2142        }
 143    }
 144}