irc-netcore-api/IRaCIS.Core.Infra.EFCore/Migrations/20241224030556_tablemarkc.cs

42 lines
1.2 KiB
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class tablemarkc : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<decimal>(
name: "RowIndex",
table: "ReadingTaskQuestionMark",
type: "decimal(18,2)",
precision: 18,
scale: 2,
nullable: true,
oldClrType: typeof(Guid),
oldType: "uniqueidentifier",
oldNullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<Guid>(
name: "RowIndex",
table: "ReadingTaskQuestionMark",
type: "uniqueidentifier",
nullable: true,
oldClrType: typeof(decimal),
oldType: "decimal(18,2)",
oldPrecision: 18,
oldScale: 2,
oldNullable: true);
}
}
}