added downloaded_at timestamp to icon table

This commit is contained in:
Joe Lothan 2026-05-20 01:35:13 -04:00
parent ec33b2e857
commit 564919c5cc
2 changed files with 4 additions and 2 deletions

View file

@ -69,7 +69,8 @@ func updateIcon(ctx context.Context, pool *pgxpool.Pool, iconID int64, result Do
content_type = $2,
width = $3,
height = $4,
file_size = $5
file_size = $5,
downloaded_at = now()
WHERE id = $6`,
result.S3Key, result.ContentType,
nilIntIf(result.Width, 0), nilIntIf(result.Height, 0),