summaryrefslogtreecommitdiff
path: root/Migrations/LibraryContextModelSnapshot.cs
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2022-09-15 18:58:24 -0500
committerHombreLaser <sebastian-440@live.com>2022-09-15 18:58:24 -0500
commit3381c633fcd73e5159ae4a607835167ebdbb12ee (patch)
tree25acc262b608563121e45c56e271b49c88f9315a /Migrations/LibraryContextModelSnapshot.cs
parent8901a18b0e26cf9ad0aa929e2f656a80cd2f4b09 (diff)
Cambiar PublicationDate por PublicationYear
Diffstat (limited to 'Migrations/LibraryContextModelSnapshot.cs')
-rw-r--r--Migrations/LibraryContextModelSnapshot.cs9
1 files changed, 7 insertions, 2 deletions
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<DateTime>("PublicationDate")
- .HasColumnType("timestamp with time zone");
+ b.Property<int>("PublicationYear")
+ .IsRequired()
+ .HasColumnType("integer");
+
+ b.Property<string>("Title")
+ .IsRequired()
+ .HasColumnType("text");
b.HasKey("Id");