add configurable library refresh interval (#184)
* add configurable library refresh interval * code cleanup
This commit is contained in:
+2269
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
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)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user