diff --git a/Source/DataLayer/EfClasses/Book.cs b/Source/DataLayer/EfClasses/Book.cs index 59ae4395..63d3e7c3 100644 --- a/Source/DataLayer/EfClasses/Book.cs +++ b/Source/DataLayer/EfClasses/Book.cs @@ -34,7 +34,7 @@ namespace DataLayer // mutable public string PictureId { get; set; } - public string PictureId_1215 { get; set; } + public string PictureLarge { get; set; } // book details public bool IsAbridged { get; private set; } diff --git a/Source/DataLayer/Migrations/20220510051435_Add PictureId_1215.Designer.cs b/Source/DataLayer/Migrations/20220510175257_AddPictureIDLargeMigration.Designer.cs similarity index 98% rename from Source/DataLayer/Migrations/20220510051435_Add PictureId_1215.Designer.cs rename to Source/DataLayer/Migrations/20220510175257_AddPictureIDLargeMigration.Designer.cs index 7c9f3f96..dae19073 100644 --- a/Source/DataLayer/Migrations/20220510051435_Add PictureId_1215.Designer.cs +++ b/Source/DataLayer/Migrations/20220510175257_AddPictureIDLargeMigration.Designer.cs @@ -11,8 +11,8 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion; namespace DataLayer.Migrations { [DbContext(typeof(LibationContext))] - [Migration("20220510051435_Add PictureId_1215")] - partial class AddPictureId_1215 + [Migration("20220510175257_AddPictureIDLargeMigration")] + partial class AddPictureIDLargeMigration { protected override void BuildTargetModel(ModelBuilder modelBuilder) { @@ -52,7 +52,7 @@ namespace DataLayer.Migrations b.Property("PictureId") .HasColumnType("TEXT"); - b.Property("PictureId_1215") + b.Property("PictureLarge") .HasColumnType("TEXT"); b.Property("Title") diff --git a/Source/DataLayer/Migrations/20220510051435_Add PictureId_1215.cs b/Source/DataLayer/Migrations/20220510175257_AddPictureIDLargeMigration.cs similarity index 78% rename from Source/DataLayer/Migrations/20220510051435_Add PictureId_1215.cs rename to Source/DataLayer/Migrations/20220510175257_AddPictureIDLargeMigration.cs index e4f6abed..10363132 100644 --- a/Source/DataLayer/Migrations/20220510051435_Add PictureId_1215.cs +++ b/Source/DataLayer/Migrations/20220510175257_AddPictureIDLargeMigration.cs @@ -4,12 +4,12 @@ namespace DataLayer.Migrations { - public partial class AddPictureId_1215 : Migration + public partial class AddPictureIDLargeMigration : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( - name: "PictureId_1215", + name: "PictureLarge", table: "Books", type: "TEXT", nullable: true); @@ -18,7 +18,7 @@ namespace DataLayer.Migrations protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( - name: "PictureId_1215", + name: "PictureLarge", table: "Books"); } } diff --git a/Source/DataLayer/Migrations/LibationContextModelSnapshot.cs b/Source/DataLayer/Migrations/LibationContextModelSnapshot.cs index f2e133fb..c198e3c0 100644 --- a/Source/DataLayer/Migrations/LibationContextModelSnapshot.cs +++ b/Source/DataLayer/Migrations/LibationContextModelSnapshot.cs @@ -50,7 +50,7 @@ namespace DataLayer.Migrations b.Property("PictureId") .HasColumnType("TEXT"); - b.Property("PictureId_1215") + b.Property("PictureLarge") .HasColumnType("TEXT"); b.Property("Title")