diff options
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"); |