forked from EllieBotDevs/elliebot
26 lines
647 B
C#
26 lines
647 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace EllieBot.Migrations
|
|||
|
{
|
|||
|
public partial class banprune : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<int>(
|
|||
|
name: "PruneDays",
|
|||
|
table: "BanTemplates",
|
|||
|
type: "INTEGER",
|
|||
|
nullable: true);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "PruneDays",
|
|||
|
table: "BanTemplates");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|