diff --git a/ProjectLighthouse/Migrations/20220205132152_CommentRefactor.cs b/ProjectLighthouse/Migrations/20220205132152_CommentRefactor.cs index 4672cf4d..bd829b58 100644 --- a/ProjectLighthouse/Migrations/20220205132152_CommentRefactor.cs +++ b/ProjectLighthouse/Migrations/20220205132152_CommentRefactor.cs @@ -24,7 +24,7 @@ namespace ProjectLighthouse.Migrations migrationBuilder.RenameColumn( name: "TargetUserId", table: "Comments", - newName: "Type"); + newName: "TargetId"); migrationBuilder.AddColumn( name: "Deleted", @@ -48,7 +48,7 @@ namespace ProjectLighthouse.Migrations .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( - name: "TargetId", + name: "Type", table: "Comments", type: "int", nullable: false, @@ -89,11 +89,11 @@ namespace ProjectLighthouse.Migrations table: "Comments"); migrationBuilder.DropColumn( - name: "TargetId", + name: "Type", table: "Comments"); migrationBuilder.RenameColumn( - name: "Type", + name: "TargetId", table: "Comments", newName: "TargetUserId");