diff options
author | HombreLaser <sebastian-440@live.com> | 2022-09-15 18:58:24 -0500 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2022-09-15 18:58:24 -0500 |
commit | 3381c633fcd73e5159ae4a607835167ebdbb12ee (patch) | |
tree | 25acc262b608563121e45c56e271b49c88f9315a /Migrations/LibraryContextModelSnapshot.cs | |
parent | 8901a18b0e26cf9ad0aa929e2f656a80cd2f4b09 (diff) |
Cambiar PublicationDate por PublicationYear
Diffstat (limited to 'Migrations/LibraryContextModelSnapshot.cs')
-rw-r--r-- | Migrations/LibraryContextModelSnapshot.cs | 9 |
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"); |