in , an remote actor have an optional icon object, which essentially it's the actor's avatar metadata.

but in api, the icon object doesn't carry an "id" field in itself, so i cannot correctly map this icon into a more generic "attachments" table (because it requires the presence of id field) in my local instance when i import the remote actor.

some ppl created icon as jsonb to facilitate this non-generic "icon" field.

which isn't a great solution in its api design.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/potatomeow/statuses/115907296919276613 on your instance and quote it. (Note that quoting is not supported in Mastodon.)