forked from EllieBotDevs/elliebot
25 lines
658 B
C#
25 lines
658 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace EllieBot.Migrations.PostgreSql
|
|
{
|
|
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");
|
|
}
|
|
}
|
|
}
|