I'm not sure if this is related to PostgreSQL, but I've noticed that hashtags are created in posts but don't appear on the /hashtags page. The API request to /api/hashtags/anything2 returns a 404, and there is no corresponding record in the hashtags table.
I'll investigate this further to see if I can identify the cause.
https://flarum.subarist.net/d/95267-hashtags
Type flarum for this list again, or help for shell commands. Docs: https://docs.flarum.org/2.x/console#tinker
flarum> use Flarum\Post\Post;
flarum> Post::query()->where('type', 'comment')->where('content', 'like', '%anything2%')->limit(10)->pluck('id')->all();
=> [
574328,
]
Flarum 2.0.1-dev tinker — interactive shell.
Available: $container, $settings, $db, $events, $extensions, resolve(), and models by short name (e.g. User::find(1)).
Type flarum for this list again, or help for shell commands. Docs: https://docs.flarum.org/2.x/console#tinker
flarum> use Ernestdefoe\Hashtags\Model\Hashtag;
Hashtag::query()->where('name_key', 'anything2')->get()->toArray();flarum> flarum>
=> []