mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
27 lines
771 B
C#
27 lines
771 B
C#
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|
|||
|
|
#nullable disable
|
|||
|
|
|
|||
|
|
namespace Jellyfin.Server.Implementations.Migrations
|
|||
|
|
{
|
|||
|
|
public partial class AddIndexActivityLogsDateCreated : Migration
|
|||
|
|
{
|
|||
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.CreateIndex(
|
|||
|
|
name: "IX_ActivityLogs_DateCreated",
|
|||
|
|
schema: "jellyfin",
|
|||
|
|
table: "ActivityLogs",
|
|||
|
|
column: "DateCreated");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
|
{
|
|||
|
|
migrationBuilder.DropIndex(
|
|||
|
|
name: "IX_ActivityLogs_DateCreated",
|
|||
|
|
schema: "jellyfin",
|
|||
|
|
table: "ActivityLogs");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|