Files
irc-netcore-api/IRaCIS.Core.Infra.EFCore/Migrations/20241108051348_TestJsonObject.cs
T
hang 1f33a9fa4e
continuous-integration/drone/push Build is passing
efcore 8 json 列测试完毕
2024-11-08 13:41:07 +08:00

30 lines
804 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class TestJsonObject : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "TestJsonObjectLsit",
table: "TestLength",
type: "nvarchar(max)",
nullable: false,
defaultValue: "");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "TestJsonObjectLsit",
table: "TestLength");
}
}
}