25 lines
701 B
C#
25 lines
701 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
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");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|