Revert PictureID_1215 migration and add PictureIDLarge migration
This commit is contained in:
parent
448c231cfa
commit
0091245734
@ -34,7 +34,7 @@ namespace DataLayer
|
|||||||
|
|
||||||
// mutable
|
// mutable
|
||||||
public string PictureId { get; set; }
|
public string PictureId { get; set; }
|
||||||
public string PictureId_1215 { get; set; }
|
public string PictureLarge { get; set; }
|
||||||
|
|
||||||
// book details
|
// book details
|
||||||
public bool IsAbridged { get; private set; }
|
public bool IsAbridged { get; private set; }
|
||||||
|
|||||||
@ -11,8 +11,8 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|||||||
namespace DataLayer.Migrations
|
namespace DataLayer.Migrations
|
||||||
{
|
{
|
||||||
[DbContext(typeof(LibationContext))]
|
[DbContext(typeof(LibationContext))]
|
||||||
[Migration("20220510051435_Add PictureId_1215")]
|
[Migration("20220510175257_AddPictureIDLargeMigration")]
|
||||||
partial class AddPictureId_1215
|
partial class AddPictureIDLargeMigration
|
||||||
{
|
{
|
||||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||||
{
|
{
|
||||||
@ -52,7 +52,7 @@ namespace DataLayer.Migrations
|
|||||||
b.Property<string>("PictureId")
|
b.Property<string>("PictureId")
|
||||||
.HasColumnType("TEXT");
|
.HasColumnType("TEXT");
|
||||||
|
|
||||||
b.Property<string>("PictureId_1215")
|
b.Property<string>("PictureLarge")
|
||||||
.HasColumnType("TEXT");
|
.HasColumnType("TEXT");
|
||||||
|
|
||||||
b.Property<string>("Title")
|
b.Property<string>("Title")
|
||||||
@ -4,12 +4,12 @@
|
|||||||
|
|
||||||
namespace DataLayer.Migrations
|
namespace DataLayer.Migrations
|
||||||
{
|
{
|
||||||
public partial class AddPictureId_1215 : Migration
|
public partial class AddPictureIDLargeMigration : Migration
|
||||||
{
|
{
|
||||||
protected override void Up(MigrationBuilder migrationBuilder)
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
{
|
{
|
||||||
migrationBuilder.AddColumn<string>(
|
migrationBuilder.AddColumn<string>(
|
||||||
name: "PictureId_1215",
|
name: "PictureLarge",
|
||||||
table: "Books",
|
table: "Books",
|
||||||
type: "TEXT",
|
type: "TEXT",
|
||||||
nullable: true);
|
nullable: true);
|
||||||
@ -18,7 +18,7 @@ namespace DataLayer.Migrations
|
|||||||
protected override void Down(MigrationBuilder migrationBuilder)
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
{
|
{
|
||||||
migrationBuilder.DropColumn(
|
migrationBuilder.DropColumn(
|
||||||
name: "PictureId_1215",
|
name: "PictureLarge",
|
||||||
table: "Books");
|
table: "Books");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -50,7 +50,7 @@ namespace DataLayer.Migrations
|
|||||||
b.Property<string>("PictureId")
|
b.Property<string>("PictureId")
|
||||||
.HasColumnType("TEXT");
|
.HasColumnType("TEXT");
|
||||||
|
|
||||||
b.Property<string>("PictureId_1215")
|
b.Property<string>("PictureLarge")
|
||||||
.HasColumnType("TEXT");
|
.HasColumnType("TEXT");
|
||||||
|
|
||||||
b.Property<string>("Title")
|
b.Property<string>("Title")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user