* refactor sqlite into separate library * support mysql * fixes * sql fixes * cleanup * update changelog
21 lines
612 B
C#
21 lines
612 B
C#
using System;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace ErsatzTV.Infrastructure.Sqlite.Migrations
|
|
{
|
|
public partial class Add_LibraryPath_LastScan : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder) =>
|
|
migrationBuilder.AddColumn<DateTime>(
|
|
"LastScan",
|
|
"LibraryPath",
|
|
"TEXT",
|
|
nullable: true);
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) =>
|
|
migrationBuilder.DropColumn(
|
|
"LastScan",
|
|
"LibraryPath");
|
|
}
|
|
}
|