irc-netcore-api/IRaCIS.Core.Infra.EFCore/Migrations/20241023034834_iamgeandQues...

41 lines
1.2 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class iamgeandQuestion : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "ImageCount",
table: "ReadingTableQuestionTrial",
type: "int",
nullable: true,
comment: "图片数量");
migrationBuilder.AddColumn<int>(
name: "ImageCount",
table: "ReadingTableQuestionSystem",
type: "int",
nullable: true,
comment: "图片数量");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ImageCount",
table: "ReadingTableQuestionTrial");
migrationBuilder.DropColumn(
name: "ImageCount",
table: "ReadingTableQuestionSystem");
}
}
}