* refactor sqlite into separate library * support mysql * fixes * sql fixes * cleanup * update changelog
26 lines
693 B
C#
26 lines
693 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace ErsatzTV.Infrastructure.Sqlite.Migrations
|
|
{
|
|
public partial class Add_MusicVideoMetadata_Track : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "Track",
|
|
table: "MusicVideoMetadata",
|
|
type: "INTEGER",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Track",
|
|
table: "MusicVideoMetadata");
|
|
}
|
|
}
|
|
}
|