diff --git a/artifacts/tx-os/src/pages/home.tsx b/artifacts/tx-os/src/pages/home.tsx index 9231f43d..c0df9c3a 100644 --- a/artifacts/tx-os/src/pages/home.tsx +++ b/artifacts/tx-os/src/pages/home.tsx @@ -135,8 +135,18 @@ function AppIconContent({ )} s.nameEn === seed.nameEn); + if (existing && !existing.imageUrl) { + await db + .update(servicesTable) + .set({ imageUrl: seed.imageUrl }) + .where(eq(servicesTable.id, existing.id)); + } + } + console.log("Service images backfilled for NULL rows"); + // ----- Groups: idempotent migration ----- await db .insert(groupsTable)