2020-10-04 10:43:20 -07:00
|
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
#pragma warning disable SA1601
|
|
|
|
|
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
2020-10-04 10:14:32 -07:00
|
|
|
|
|
|
|
|
|
namespace Jellyfin.Server.Implementations.Migrations
|
|
|
|
|
{
|
|
|
|
|
public partial class MaxActiveSessions : Migration
|
|
|
|
|
{
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.AddColumn<int>(
|
|
|
|
|
name: "MaxActiveSessions",
|
|
|
|
|
schema: "jellyfin",
|
|
|
|
|
table: "Users",
|
|
|
|
|
nullable: true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.DropColumn(
|
|
|
|
|
name: "MaxActiveSessions",
|
|
|
|
|
schema: "jellyfin",
|
|
|
|
|
table: "Users");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|