50 lines
1.4 KiB
C#
50 lines
1.4 KiB
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class tablemark : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<Guid>(
|
|
name: "RowId",
|
|
table: "ReadingTaskQuestionMark",
|
|
type: "uniqueidentifier",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<Guid>(
|
|
name: "RowIndex",
|
|
table: "ReadingTaskQuestionMark",
|
|
type: "uniqueidentifier",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<Guid>(
|
|
name: "TableQuestionId",
|
|
table: "ReadingTaskQuestionMark",
|
|
type: "uniqueidentifier",
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "RowId",
|
|
table: "ReadingTaskQuestionMark");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "RowIndex",
|
|
table: "ReadingTaskQuestionMark");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "TableQuestionId",
|
|
table: "ReadingTaskQuestionMark");
|
|
}
|
|
}
|
|
}
|