irc-netcore-api/IRaCIS.Core.Infra.EFCore/Migrations/20241030015957_classify.cs

99 lines
3.0 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class classify : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "ClassifyEditType",
table: "ReadingTableQuestionTrial",
type: "int",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "ClassifyShowType",
table: "ReadingTableQuestionTrial",
type: "int",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "ClassifyEditType",
table: "ReadingTableQuestionSystem",
type: "int",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "ClassifyShowType",
table: "ReadingTableQuestionSystem",
type: "int",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "ClassifyEditType",
table: "ReadingQuestionTrial",
type: "int",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "ClassifyShowType",
table: "ReadingQuestionTrial",
type: "int",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "ClassifyEditType",
table: "ReadingQuestionSystem",
type: "int",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "ClassifyShowType",
table: "ReadingQuestionSystem",
type: "int",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ClassifyEditType",
table: "ReadingTableQuestionTrial");
migrationBuilder.DropColumn(
name: "ClassifyShowType",
table: "ReadingTableQuestionTrial");
migrationBuilder.DropColumn(
name: "ClassifyEditType",
table: "ReadingTableQuestionSystem");
migrationBuilder.DropColumn(
name: "ClassifyShowType",
table: "ReadingTableQuestionSystem");
migrationBuilder.DropColumn(
name: "ClassifyEditType",
table: "ReadingQuestionTrial");
migrationBuilder.DropColumn(
name: "ClassifyShowType",
table: "ReadingQuestionTrial");
migrationBuilder.DropColumn(
name: "ClassifyEditType",
table: "ReadingQuestionSystem");
migrationBuilder.DropColumn(
name: "ClassifyShowType",
table: "ReadingQuestionSystem");
}
}
}