41 lines
1.2 KiB
C#
41 lines
1.2 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class CriterionGroup : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "CriterionGroup",
|
|
table: "ReadingQuestionCriterionTrial",
|
|
type: "int",
|
|
nullable: false,
|
|
defaultValue: 0);
|
|
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "CriterionGroup",
|
|
table: "ReadingQuestionCriterionSystem",
|
|
type: "int",
|
|
nullable: false,
|
|
defaultValue: 0);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "CriterionGroup",
|
|
table: "ReadingQuestionCriterionTrial");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "CriterionGroup",
|
|
table: "ReadingQuestionCriterionSystem");
|
|
}
|
|
}
|
|
}
|