36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
// <copyright file="20260627120000_AddAccountIsBot.cs" company="MUnique">
|
|
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
|
|
// </copyright>
|
|
|
|
#nullable disable
|
|
|
|
namespace MUnique.OpenMU.Persistence.EntityFramework.Migrations
|
|
{
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
/// <inheritdoc />
|
|
public partial class AddAccountIsBot : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "IsBot",
|
|
schema: "data",
|
|
table: "Account",
|
|
type: "boolean",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "IsBot",
|
|
schema: "data",
|
|
table: "Account");
|
|
}
|
|
}
|
|
}
|