create-fullstack-scaffold 0.4.5 → 0.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,6 +22,13 @@
22
22
  "when": 1778211178500,
23
23
  "tag": "0002_chilly_magneto",
24
24
  "breakpoints": true
25
+ },
26
+ {
27
+ "idx": 3,
28
+ "version": "6",
29
+ "when": 1778923351174,
30
+ "tag": "0003_ambiguous_magdalene",
31
+ "breakpoints": true
25
32
  }
26
33
  ]
27
34
  }
@@ -10,7 +10,13 @@ import { getDb } from '@server/db'
10
10
  export async function seedPluginsIfEmpty() {
11
11
  const db = await getDb()
12
12
 
13
- const existing = await db.select().from(plugins)
13
+ let existing
14
+ try {
15
+ existing = await db.select().from(plugins)
16
+ } catch {
17
+ // Table doesn't exist yet — migrations may not include plugin tables
18
+ return
19
+ }
14
20
  if (existing.length > 0) return
15
21
 
16
22
  const sampleCategories = [