mirror of https://github.com/abpframework/abp.git
10 changed files with 2393 additions and 14 deletions
File diff suppressed because it is too large
@ -0,0 +1,28 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Volo.CmsKit.Migrations |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
public partial class ChangeCommentUrlName : Migration |
||||
|
{ |
||||
|
/// <inheritdoc />
|
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.RenameColumn( |
||||
|
name: "CommentUrl", |
||||
|
table: "CmsComments", |
||||
|
newName: "Url"); |
||||
|
} |
||||
|
|
||||
|
/// <inheritdoc />
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.RenameColumn( |
||||
|
name: "Url", |
||||
|
table: "CmsComments", |
||||
|
newName: "CommentUrl"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue