mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
33 lines
943 B
C#
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");
|
|
}
|
|
}
|
|
}
|