diff --git a/Iceshrimp.Backend/Core/Database/Migrations/DatabaseContextModelSnapshot.cs b/Iceshrimp.Backend/Core/Database/Migrations/DatabaseContextModelSnapshot.cs index 84d26347..18371324 100644 --- a/Iceshrimp.Backend/Core/Database/Migrations/DatabaseContextModelSnapshot.cs +++ b/Iceshrimp.Backend/Core/Database/Migrations/DatabaseContextModelSnapshot.cs @@ -4568,7 +4568,7 @@ namespace Iceshrimp.Backend.Core.Database.Migrations .HasDefaultValueSql("'[]'::jsonb") .HasComment("List of instances muted by the user."); - b.Property>>("MutedWords") + b.Property("MutedWords") .IsRequired() .ValueGeneratedOnAdd() .HasColumnType("jsonb") diff --git a/Iceshrimp.Backend/Core/Database/Tables/UserProfile.cs b/Iceshrimp.Backend/Core/Database/Tables/UserProfile.cs index 85eb2baf..f9fe269c 100644 --- a/Iceshrimp.Backend/Core/Database/Tables/UserProfile.cs +++ b/Iceshrimp.Backend/Core/Database/Tables/UserProfile.cs @@ -135,8 +135,9 @@ public class UserProfile [Column("enableWordMute")] public bool EnableWordMute { get; set; } + //TODO: refactor this column (it's currently a List, which is terrible) [Column("mutedWords", TypeName = "jsonb")] - public List> MutedWords { get; set; } = null!; + public string MutedWords { get; set; } = null!; /// /// Whether reject index by crawler.