Moved movies to separate table.

This commit is contained in:
DebaucheryLibrarian
2020-07-25 03:44:19 +02:00
parent bfd54e94e7
commit 6c5a62353c
9 changed files with 93 additions and 74 deletions

View File

@@ -736,7 +736,7 @@ const tagPhotos = [
['cum-in-mouth', 0, 'Vina Sky and Avi Love for HardX'],
]
.map(([slug, fileIndex, comment], index) => ({
id: nanoid(),
id: `${slug}-${fileIndex}`,
tagSlug: slug,
path: `tags/${slug}/${fileIndex}.jpeg`,
thumbnail: `tags/${slug}/thumbs/${fileIndex}.jpeg`,