* optimize emby collection scan frequency * add button to sync emby collections * update changelog * fix scanning; add progress indicator
30 lines
811 B
C#
30 lines
811 B
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace ErsatzTV.Infrastructure.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class Add_EmbyMediaSource_LastCollectionScan : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<DateTime>(
|
|
name: "LastCollectionsScan",
|
|
table: "EmbyMediaSource",
|
|
type: "TEXT",
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "LastCollectionsScan",
|
|
table: "EmbyMediaSource");
|
|
}
|
|
}
|
|
}
|