Patched DateOnly columns

This commit is contained in:
Christopher Sanden
2026-03-29 14:35:15 +02:00
committed by Chris
parent 416d668294
commit ba0a5f1b6e
8 changed files with 847 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ namespace Example.Data.Migrations.Postgres
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
b.Property<DateTime>("Birthdate")
.HasColumnType("timestamp with time zone");
.HasColumnType("date");
b.Property<string>("FirstName")
.IsRequired()
@@ -57,7 +57,7 @@ namespace Example.Data.Migrations.Postgres
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
b.Property<DateTime>("Published")
.HasColumnType("timestamp with time zone");
.HasColumnType("date");
b.Property<string>("Summary")
.IsRequired()