mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-20 04:18:51 -07:00
49c363751a
Fixes a bad assumption with the previous migration.
28 lines
768 B
C#
28 lines
768 B
C#
#pragma warning disable CS1591
|
|
#pragma warning disable SA1601
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace Jellyfin.Server.Implementations.Migrations
|
|
{
|
|
public partial class AddMaxActiveSessions : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "MaxActiveSessions",
|
|
schema: "jellyfin",
|
|
table: "Users",
|
|
nullable: false);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "MaxActiveSessions",
|
|
schema: "jellyfin",
|
|
table: "Users");
|
|
}
|
|
}
|
|
}
|