From 2c9c2cc3b414115bca9b6c63ca7b20d49a8a8ec1 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Thu, 15 Sep 2022 20:55:44 -0500 Subject: Agregar autor --- ...220915235413_AddBookPublicationYear.Designer.cs | 60 ---------------------- 1 file changed, 60 deletions(-) delete mode 100644 Migrations/20220915235413_AddBookPublicationYear.Designer.cs (limited to 'Migrations/20220915235413_AddBookPublicationYear.Designer.cs') diff --git a/Migrations/20220915235413_AddBookPublicationYear.Designer.cs b/Migrations/20220915235413_AddBookPublicationYear.Designer.cs deleted file mode 100644 index 072bb5c..0000000 --- a/Migrations/20220915235413_AddBookPublicationYear.Designer.cs +++ /dev/null @@ -1,60 +0,0 @@ -// -using System; -using LibraryAPI.Models; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; - -#nullable disable - -namespace LibraryAPI.Migrations -{ - [DbContext(typeof(LibraryContext))] - [Migration("20220915235413_AddBookPublicationYear")] - partial class AddBookPublicationYear - { - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "6.0.9") - .HasAnnotation("Relational:MaxIdentifierLength", 63); - - NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); - - modelBuilder.Entity("LibraryAPI.Models.Book", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("bigint"); - - NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property("Id")); - - b.Property("Edition") - .HasColumnType("integer"); - - b.Property("Genres") - .IsRequired() - .HasColumnType("text[]"); - - b.Property("ISBN") - .IsRequired() - .HasColumnType("text"); - - b.Property("PublicationYear") - .HasColumnType("integer"); - - b.Property("Title") - .IsRequired() - .HasColumnType("text"); - - b.HasKey("Id"); - - b.ToTable("Books"); - }); -#pragma warning restore 612, 618 - } - } -} -- cgit v1.2.3