Merge pull request #4279 from joshuaboniface/fix-bad-migration

Make MaxActiveSessions not nullable
pull/4288/head
Joshua M. Boniface 4 years ago committed by GitHub
commit 29e77d56ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,8 @@ namespace Jellyfin.Server.Implementations.Migrations
name: "MaxActiveSessions",
schema: "jellyfin",
table: "Users",
nullable: true);
nullable: false,
defaultValue: 0);
}
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