Killed history

This commit is contained in:
Kwoth
2021-09-06 21:29:22 +02:00
commit 7aca29ae8a
950 changed files with 366651 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace NadekoBot.Migrations
{
public partial class currencydecay : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<float>(
name: "DailyCurrencyDecay",
table: "BotConfig",
nullable: false,
defaultValue: 0f);
migrationBuilder.AddColumn<DateTime>(
name: "LastCurrencyDecay",
table: "BotConfig",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified));
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "DailyCurrencyDecay",
table: "BotConfig");
migrationBuilder.DropColumn(
name: "LastCurrencyDecay",
table: "BotConfig");
}
}
}