1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-17 18:48:02 -05:00

add index to last connection for improved search speed

This commit is contained in:
RaidMax
2023-01-23 21:10:33 -06:00
parent aecb17d188
commit 914047b05c
10 changed files with 5058 additions and 1 deletions

View File

@ -0,0 +1,24 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Data.Migrations.Sqlite
{
public partial class AddLastConnectionIndexEFClient : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateIndex(
name: "IX_EFClients_LastConnection",
table: "EFClients",
column: "LastConnection");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropIndex(
name: "IX_EFClients_LastConnection",
table: "EFClients");
}
}
}