irc-netcore-api/IRaCIS.Core.Infra.EFCore/Migrations/20251010074451_IsPreinstall.cs

41 lines
1.2 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class IsPreinstall : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsPreinstall",
table: "ReadingTableQuestionTrial",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<bool>(
name: "IsPreinstall",
table: "ReadingTableQuestionSystem",
type: "bit",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsPreinstall",
table: "ReadingTableQuestionTrial");
migrationBuilder.DropColumn(
name: "IsPreinstall",
table: "ReadingTableQuestionSystem");
}
}
}