Test videos creation of slugs

This commit is contained in:
2025-01-26 22:34:47 +01:00
parent e5bb462e36
commit f2c1982afa
4 changed files with 132 additions and 8 deletions

View File

@@ -95,7 +95,7 @@ export const insertEntries = async (
slug: sql<string>`
concat(
${show.slug}::text,
case when ${videos.part} <> null then ('-p' || ${videos.part}) else '' end,
case when ${videos.part} is not null then ('-p' || ${videos.part}) else '' end,
case when ${videos.version} <> 1 then ('-v' || ${videos.version}) else '' end,
case when exists(${hasRenderingQ}) then concat('-', ${videos.rendering}) else '' end
)