Changes in database for tags to be array integers instead of strings

This commit is contained in:
CakeAndBanana
2025-10-19 18:36:08 +02:00
parent c30190704f
commit ad00f7b078
5 changed files with 1235 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ public class GroupProfile
public string GroupGID { get; set; }
public Group Group { get; set; }
public string Description { get; set; }
public string Tags { get; set; }
public int[] Tags { get; set; }
public string Base64GroupProfileImage { get; set; }
public bool IsNSFW { get; set; } = false;
public bool ProfileDisabled { get; set; } = false;

View File

@@ -12,6 +12,7 @@ public class UserProfileData
public User User { get; set; }
public string UserDescription { get; set; }
public int[] Tags { get; set; }
[Required]
[Key]