Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

minor fix

daniel31x139d8ae6970cf7
diff --git a/scripts/migration/indexArchives.js b/scripts/migration/indexArchives.js
index 6f362da6..9ef2809c 100644
--- a/scripts/migration/indexArchives.js
+++ b/scripts/migration/indexArchives.js
@@ -66,6 +66,14 @@ async function checkFileExistence(path) {
async function indexArchives() {
const links = await prisma.link.findMany({
+ select: {
+ id: true,
+ collectionId: true,
+ image: true,
+ pdf: true,
+ readable: true,
+ monolith: true,
+ },
orderBy: { id: "asc" },
});