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