From 5b9c8f7391ed072aa092df11a8c7e9f3a4f36cd0 Mon Sep 17 00:00:00 2001 From: Zaldimmar Date: Sat, 26 Sep 2026 18:26:12 -0500 Subject: [PATCH] Call the descriptor sync once at boot, and rename the package index.js ran syncDescriptorsWithSchema twice on one line, a paste slip from v1.4. It's idempotent, so the second call only re-read every table's schema; boot now checks once. package.json's name was still "figma-make-app" from the original export; it's "ngu-web-app" now. Co-Authored-By: Claude Opus 5.5 --- package.json | 2 +- server/src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 16df0d3..b1ca7fd 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "figma-make-app", + "name": "ngu-web-app", "private": true, "version": "1.0.0", "type": "module", diff --git a/server/src/index.js b/server/src/index.js index 2be4ef8..14fdde7 100644 --- a/server/src/index.js +++ b/server/src/index.js @@ -36,7 +36,7 @@ const DB_PATH = process.env.DB_PATH ?? "./ngu.db"; const db = await openDatabase(DB_PATH); const version = migrate(db); -syncDescriptorsWithSchema(db, ENTITIES);syncDescriptorsWithSchema(db, ENTITIES); +syncDescriptorsWithSchema(db, ENTITIES); console.log(`db ${DB_PATH} (${db.driverName}, schema v${version})`);