mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #4279 from joshuaboniface/fix-bad-migration
Make MaxActiveSessions not nullable
This commit is contained in:
commit
29e77d56ec
@ -13,7 +13,8 @@ namespace Jellyfin.Server.Implementations.Migrations
|
|||||||
name: "MaxActiveSessions",
|
name: "MaxActiveSessions",
|
||||||
schema: "jellyfin",
|
schema: "jellyfin",
|
||||||
table: "Users",
|
table: "Users",
|
||||||
nullable: true);
|
nullable: false,
|
||||||
|
defaultValue: 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Down(MigrationBuilder migrationBuilder)
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
@ -344,7 +344,7 @@ namespace Jellyfin.Server.Implementations.Migrations
|
|||||||
b.Property<int?>("LoginAttemptsBeforeLockout")
|
b.Property<int?>("LoginAttemptsBeforeLockout")
|
||||||
.HasColumnType("INTEGER");
|
.HasColumnType("INTEGER");
|
||||||
|
|
||||||
b.Property<int?>("MaxActiveSessions")
|
b.Property<int>("MaxActiveSessions")
|
||||||
.HasColumnType("INTEGER");
|
.HasColumnType("INTEGER");
|
||||||
|
|
||||||
b.Property<int?>("MaxParentalAgeRating")
|
b.Property<int?>("MaxParentalAgeRating")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user