Files
ersatztv/ErsatzTV.Infrastructure/Migrations/20210514110050_Add_LibraryRefreshInterval.cs
T
Jason DoveandGitHub 27e0a70d93 add configurable library refresh interval (#184)
* add configurable library refresh interval

* code cleanup
2021-05-14 06:43:44 -05:00

16 lines
485 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace ErsatzTV.Infrastructure.Migrations
{
public partial class Add_LibraryRefreshInterval : Migration
{
protected override void Up(MigrationBuilder migrationBuilder) =>
migrationBuilder.Sql(
"INSERT INTO ConfigElement (Key, Value) VALUES ('scanner.library_refresh_interval', '6')");
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}