26 lines
690 B
C#
26 lines
690 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
namespace NadekoBot.Migrations
|
|||
|
{
|
|||
|
public partial class mutetimeantispam : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<int>(
|
|||
|
name: "MuteTime",
|
|||
|
table: "AntiSpamSetting",
|
|||
|
nullable: false,
|
|||
|
defaultValue: 0);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "MuteTime",
|
|||
|
table: "AntiSpamSetting");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|