26 lines
672 B
C#
26 lines
672 B
C#
![]() |
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace YD_WeChatApplet.Api.Migrations
|
|||
|
{
|
|||
|
public partial class _20250427v3 : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.RenameColumn(
|
|||
|
name: "kcalIndex",
|
|||
|
table: "WCA_Category",
|
|||
|
newName: "KcalIndex");
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.RenameColumn(
|
|||
|
name: "KcalIndex",
|
|||
|
table: "WCA_Category",
|
|||
|
newName: "kcalIndex");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|