From 3381c633fcd73e5159ae4a607835167ebdbb12ee Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Thu, 15 Sep 2022 18:58:24 -0500 Subject: Cambiar PublicationDate por PublicationYear --- Migrations/LibraryContextModelSnapshot.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Migrations/LibraryContextModelSnapshot.cs') diff --git a/Migrations/LibraryContextModelSnapshot.cs b/Migrations/LibraryContextModelSnapshot.cs index 734dcc0..d340ff6 100644 --- a/Migrations/LibraryContextModelSnapshot.cs +++ b/Migrations/LibraryContextModelSnapshot.cs @@ -41,8 +41,13 @@ namespace LibraryAPI.Migrations .IsRequired() .HasColumnType("text"); - b.Property("PublicationDate") - .HasColumnType("timestamp with time zone"); + b.Property("PublicationYear") + .IsRequired() + .HasColumnType("integer"); + + b.Property("Title") + .IsRequired() + .HasColumnType("text"); b.HasKey("Id"); -- cgit v1.2.3