mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Killed history
This commit is contained in:
31
NadekoBot.Core/Migrations/20210426141351_curtrs-improv.cs
Normal file
31
NadekoBot.Core/Migrations/20210426141351_curtrs-improv.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace NadekoBot.Migrations
|
||||
{
|
||||
public partial class curtrsimprov : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_CurrencyTransactions_DateAdded",
|
||||
table: "CurrencyTransactions");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_CurrencyTransactions_UserId",
|
||||
table: "CurrencyTransactions",
|
||||
column: "UserId");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_CurrencyTransactions_UserId",
|
||||
table: "CurrencyTransactions");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_CurrencyTransactions_DateAdded",
|
||||
table: "CurrencyTransactions",
|
||||
column: "DateAdded");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user