Ver Fonte

Add default value of 0

Joshua M. Boniface há 4 anos atrás
pai
commit
b3249e849c

+ 2 - 1
Jellyfin.Server.Implementations/Migrations/20201004171403_AddMaxActiveSessions.cs

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