You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
// <auto-generated />
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
|
|
|
|
namespace Jellyfin.Server.Implementations.Migrations
|
|
|
|
|
{
|
|
|
|
|
public partial class NullableCustomPrefValue : Migration
|
|
|
|
|
{
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
|
|
|
name: "Value",
|
|
|
|
|
schema: "jellyfin",
|
|
|
|
|
table: "CustomItemDisplayPreferences",
|
|
|
|
|
type: "TEXT",
|
|
|
|
|
nullable: true,
|
|
|
|
|
oldClrType: typeof(string),
|
|
|
|
|
oldType: "TEXT");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
|
|
|
name: "Value",
|
|
|
|
|
schema: "jellyfin",
|
|
|
|
|
table: "CustomItemDisplayPreferences",
|
|
|
|
|
type: "TEXT",
|
|
|
|
|
nullable: false,
|
|
|
|
|
defaultValue: "",
|
|
|
|
|
oldClrType: typeof(string),
|
|
|
|
|
oldType: "TEXT",
|
|
|
|
|
oldNullable: true);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|