Files
irc-netcore-api/IRaCIS.Core.Infra.EFCore/Migrations/20250417071550_Publish.cs
T
he c0d6eb3203
continuous-integration/drone/push Build is passing
修改
2025-04-17 15:33:44 +08:00

30 lines
777 B
C#

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