2016-11-15 11:01:02 +00:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
2016-11-07 21:50:00 +00:00
|
|
|
|
|
|
|
|
|
namespace NadekoBot.Migrations
|
|
|
|
|
{
|
|
|
|
|
public partial class Cleverbot : Migration
|
|
|
|
|
{
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.AddColumn<bool>(
|
|
|
|
|
name: "CleverbotEnabled",
|
|
|
|
|
table: "GuildConfigs",
|
|
|
|
|
nullable: false,
|
|
|
|
|
defaultValue: false);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.DropColumn(
|
|
|
|
|
name: "CleverbotEnabled",
|
|
|
|
|
table: "GuildConfigs");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|