Make MaxActiveSessions not nullable

Fixes a bad assumption with the previous migration.
pull/4279/head
Joshua M. Boniface 4 years ago
parent 5e11eb0359
commit 49c363751a

@ -13,7 +13,7 @@ namespace Jellyfin.Server.Implementations.Migrations
name: "MaxActiveSessions",
schema: "jellyfin",
table: "Users",
nullable: true);
nullable: false);
}
protected override void Down(MigrationBuilder migrationBuilder)

@ -344,7 +344,7 @@ namespace Jellyfin.Server.Implementations.Migrations
b.Property<int?>("LoginAttemptsBeforeLockout")
.HasColumnType("INTEGER");
b.Property<int?>("MaxActiveSessions")
b.Property<int>("MaxActiveSessions")
.HasColumnType("INTEGER");
b.Property<int?>("MaxParentalAgeRating")

Loading…
Cancel
Save