26 lines
649 B
C#
26 lines
649 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace EllieBot.Migrations.Mysql
|
|||
|
{
|
|||
|
public partial class banprune : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<int>(
|
|||
|
name: "prunedays",
|
|||
|
table: "bantemplates",
|
|||
|
type: "int",
|
|||
|
nullable: true);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "prunedays",
|
|||
|
table: "bantemplates");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|