Files
nadekobot/NadekoBot.Core/Migrations/20180411212225_stream-offline-and-message.cs
2021-09-06 21:29:22 +02:00

33 lines
943 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace NadekoBot.Migrations
{
public partial class streamofflineandmessage : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "NotifyStreamOffline",
table: "GuildConfigs",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<string>(
name: "Message",
table: "FollowedStream",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "NotifyStreamOffline",
table: "GuildConfigs");
migrationBuilder.DropColumn(
name: "Message",
table: "FollowedStream");
}
}
}