mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
25 lines
713 B
C#
25 lines
713 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace NadekoBot.Migrations
|
|
{
|
|
public partial class waifugiftmultiplier : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "WaifuGiftMultiplier",
|
|
table: "BotConfig",
|
|
nullable: false,
|
|
defaultValue: 1)
|
|
.Annotation("Sqlite:Autoincrement", true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "WaifuGiftMultiplier",
|
|
table: "BotConfig");
|
|
}
|
|
}
|
|
}
|