mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-20 04:18:51 -07: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");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|