diff options
author | HombreLaser <sebastian-440@live.com> | 2022-09-15 20:55:44 -0500 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2022-09-15 20:55:44 -0500 |
commit | 2c9c2cc3b414115bca9b6c63ca7b20d49a8a8ec1 (patch) | |
tree | 0344372eca04eab992ece36c4e07511f6f0214c6 /Migrations/20220915235337_DropBookPublicationDate.Designer.cs | |
parent | 3381c633fcd73e5159ae4a607835167ebdbb12ee (diff) |
Agregar autor
Diffstat (limited to 'Migrations/20220915235337_DropBookPublicationDate.Designer.cs')
-rw-r--r-- | Migrations/20220915235337_DropBookPublicationDate.Designer.cs | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/Migrations/20220915235337_DropBookPublicationDate.Designer.cs b/Migrations/20220915235337_DropBookPublicationDate.Designer.cs deleted file mode 100644 index e97f909..0000000 --- a/Migrations/20220915235337_DropBookPublicationDate.Designer.cs +++ /dev/null @@ -1,57 +0,0 @@ -// <auto-generated /> -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("20220915235337_DropBookPublicationDate")] - partial class DropBookPublicationDate - { - 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<long>("Id") - .ValueGeneratedOnAdd() - .HasColumnType("bigint"); - - NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<long>("Id")); - - b.Property<int>("Edition") - .HasColumnType("integer"); - - b.Property<string[]>("Genres") - .IsRequired() - .HasColumnType("text[]"); - - b.Property<string>("ISBN") - .IsRequired() - .HasColumnType("text"); - - b.Property<string>("Title") - .IsRequired() - .HasColumnType("text"); - - b.HasKey("Id"); - - b.ToTable("Books"); - }); -#pragma warning restore 612, 618 - } - } -} |