From 2c9c2cc3b414115bca9b6c63ca7b20d49a8a8ec1 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Thu, 15 Sep 2022 20:55:44 -0500 Subject: Agregar autor --- .../20220915213615_InitialCreate.Designer.cs | 56 ---------------------- 1 file changed, 56 deletions(-) delete mode 100644 Migrations/20220915213615_InitialCreate.Designer.cs (limited to 'Migrations/20220915213615_InitialCreate.Designer.cs') diff --git a/Migrations/20220915213615_InitialCreate.Designer.cs b/Migrations/20220915213615_InitialCreate.Designer.cs deleted file mode 100644 index 9c88b15..0000000 --- a/Migrations/20220915213615_InitialCreate.Designer.cs +++ /dev/null @@ -1,56 +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("20220915213615_InitialCreate")] - partial class InitialCreate - { - 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("PublicationDate") - .HasColumnType("timestamp with time zone"); - - b.HasKey("Id"); - - b.ToTable("Books"); - }); -#pragma warning restore 612, 618 - } - } -} -- cgit v1.2.3