.autodc added (Auto leave voice channel when all songs have been played)
This commit is contained in:
26
NadekoBot.Core/Migrations/20171022144733_vc-auto-dc.cs
Normal file
26
NadekoBot.Core/Migrations/20171022144733_vc-auto-dc.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace NadekoBot.Migrations
|
||||
{
|
||||
public partial class vcautodc : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "AutoDcFromVc",
|
||||
table: "GuildConfigs",
|
||||
type: "INTEGER",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "AutoDcFromVc",
|
||||
table: "GuildConfigs");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user