mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
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");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|