Update migration filters for PostgreSQL compatibility
Changed unique index filters in migration to use PostgreSQL syntax ("UserId" IS NOT NULL) instead of SQL Server syntax. Updated assembly version metadata and rebuilt related binaries.
This commit is contained in:
Binary file not shown.
Binary file not shown.
+1
-1
@@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Jellyfin.CodeAnalysis")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0efab2cfb69d762cf13ca5b602f93d2cccceaf5b")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a3eb4b1b57d52c476844f5450856090d157dd64d")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Jellyfin.CodeAnalysis")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Jellyfin.CodeAnalysis")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
3d4d85062f927bfd4145d798a69747c46d5f35ab7d8ff4fb93a81f8cd87c4784
|
||||
f7176bcf7aea11b16bb80b64a38fc257d68c9d69bf176d617c4175051a284bac
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+3
-3
@@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
|
||||
@@ -1008,14 +1008,14 @@ namespace Jellyfin.Database.Providers.Postgres.Migrations
|
||||
table: "Permissions",
|
||||
columns: new[] { "UserId", "Kind" },
|
||||
unique: true,
|
||||
filter: "[UserId] IS NOT NULL");
|
||||
filter: "\"UserId\" IS NOT NULL");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_Preferences_UserId_Kind",
|
||||
table: "Preferences",
|
||||
columns: new[] { "UserId", "Kind" },
|
||||
unique: true,
|
||||
filter: "[UserId] IS NOT NULL");
|
||||
filter: "\"UserId\" IS NOT NULL");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_UserData_ItemId_UserId_IsFavorite",
|
||||
|
||||
Reference in New Issue
Block a user