Files
nadekobot/NadekoBot.Core/Migrations/20200712193950_voicexp.cs
2021-09-06 21:29:22 +02:00

34 lines
946 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace NadekoBot.Migrations
{
public partial class voicexp : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "MaxXpMinutes",
table: "BotConfig",
nullable: false,
defaultValue: 720);
migrationBuilder.AddColumn<double>(
name: "VoiceXpPerMinute",
table: "BotConfig",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "MaxXpMinutes",
table: "BotConfig");
migrationBuilder.DropColumn(
name: "VoiceXpPerMinute",
table: "BotConfig");
}
}
}