Performance improvements. Timely command almost done

This commit is contained in:
Master Kwoth
2017-10-26 11:31:44 +02:00
parent ffcaa594c9
commit 8220487672
18 changed files with 2084 additions and 23 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,37 @@
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace NadekoBot.Migrations
{
public partial class timely : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "TimelyCurrency",
table: "BotConfig",
type: "INTEGER",
nullable: false,
defaultValue: 0);
migrationBuilder.AddColumn<int>(
name: "TimelyCurrencyPeriod",
table: "BotConfig",
type: "INTEGER",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "TimelyCurrency",
table: "BotConfig");
migrationBuilder.DropColumn(
name: "TimelyCurrencyPeriod",
table: "BotConfig");
}
}
}

View File

@ -185,6 +185,10 @@ namespace NadekoBot.Migrations
b.Property<bool>("RotatingStatuses");
b.Property<int>("TimelyCurrency");
b.Property<int>("TimelyCurrencyPeriod");
b.Property<int>("TriviaCurrencyReward");
b.Property<int>("XpMinutesTimeout")