24 lines
650 B
C#
24 lines
650 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
namespace NadekoBot.Migrations
|
|||
|
{
|
|||
|
public partial class permissionsversion : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<int>(
|
|||
|
name: "PermissionVersion",
|
|||
|
table: "BotConfig",
|
|||
|
nullable: false,
|
|||
|
defaultValue: 1);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "PermissionVersion",
|
|||
|
table: "BotConfig");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|