Patched DateOnly columns
This commit is contained in:
committed by
Chris
parent
416d668294
commit
ba0a5f1b6e
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user