* refactor sqlite into separate library * support mysql * fixes * sql fixes * cleanup * update changelog
30 lines
818 B
C#
30 lines
818 B
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace ErsatzTV.Infrastructure.Sqlite.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");
|
|
}
|
|
}
|
|
}
|