Remove unused small download album column

This commit is contained in:
Jorge Vargas 2025-04-03 22:48:50 -06:00
parent 628e4cee5f
commit 13a7f99a5d
4 changed files with 11 additions and 6 deletions

View file

@ -72,7 +72,6 @@ export const POST: APIRoute = async ({ request, locals }) => {
tx.downloads.create({
data: {
title: d.title,
small: d.small,
albumId: albumRow.id,
links: { create: d.links }
}

View file

@ -11,7 +11,6 @@ const LinkInput = s.object({
export const DownloadInput = s.object({
title: s.string(),
small: s.defaulted(s.boolean(), false),
links: s.defaulted(s.array(LinkInput), [])
})