mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
24 lines
667 B
C#
24 lines
667 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace NadekoBot.Migrations
|
|
{
|
|
public partial class patreoncurrencypercent : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<float>(
|
|
name: "PatreonCurrencyPerCent",
|
|
table: "BotConfig",
|
|
nullable: false,
|
|
defaultValue: 1f);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "PatreonCurrencyPerCent",
|
|
table: "BotConfig");
|
|
}
|
|
}
|
|
}
|