Logging sorted
This commit is contained in:
@@ -12,7 +12,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
namespace Diary.Data.Migrations
|
||||
{
|
||||
[DbContext(typeof(DiaryDBContext))]
|
||||
[Migration("20220603063002_Initial")]
|
||||
[Migration("20220603115417_Initial")]
|
||||
partial class Initial
|
||||
{
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
@@ -33,7 +33,7 @@ namespace Diary.Data.Migrations
|
||||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("EnrtyID"), 1L, 1);
|
||||
|
||||
b.Property<DateTime>("Date")
|
||||
.HasColumnType("Date");
|
||||
.HasColumnType("date");
|
||||
|
||||
b.Property<string>("Note")
|
||||
.IsRequired()
|
||||
@@ -19,7 +19,7 @@ namespace Diary.Data.Migrations
|
||||
{
|
||||
EnrtyID = table.Column<int>(type: "int", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
Date = table.Column<DateTime>(type: "Date", nullable: false),
|
||||
Date = table.Column<DateTime>(type: "date", nullable: false),
|
||||
ValidFrom = table.Column<DateTime>(type: "datetime2", nullable: false),
|
||||
ValidTo = table.Column<DateTime>(type: "datetime2", nullable: true),
|
||||
Note = table.Column<string>(type: "nvarchar(max)", nullable: false)
|
||||
@@ -31,7 +31,7 @@ namespace Diary.Data.Migrations
|
||||
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("EnrtyID"), 1L, 1);
|
||||
|
||||
b.Property<DateTime>("Date")
|
||||
.HasColumnType("Date");
|
||||
.HasColumnType("date");
|
||||
|
||||
b.Property<string>("Note")
|
||||
.IsRequired()
|
||||
|
||||
Reference in New Issue
Block a user