Storing actor socials, improved Hush profile scraper.

This commit is contained in:
DebaucheryLibrarian
2023-07-23 01:02:18 +02:00
parent 48acabac49
commit ca695db3ba
5 changed files with 68 additions and 14 deletions

View File

@@ -17,7 +17,7 @@ exports.up = async (knex) => {
AS showcased,
releases.effective_date,
releases.created_at,
array_agg(tags.slug) FILTER (WHERE tags.slug IS NOT NULL) AS tags
array_agg(tags.slug ORDER BY tags.priority DESC) FILTER (WHERE tags.slug IS NOT NULL) AS tags
FROM releases
LEFT JOIN releases_tags ON releases_tags.release_id = releases.id
LEFT JOIN tags ON tags.id = releases_tags.tag_id