Skip to content

Commit 0b92c81

Browse files
committed
chore: fix while no data
1 parent cf4144f commit 0b92c81

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/migrate.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626

2727
- name: Fix migration names (NuxtHub Admin compatibility)
2828
run: |
29-
pnpx wrangler d1 execute exif-gallery-nuxt --remote --command="UPDATE _hub_migrations SET name = name || '.sql' WHERE name NOT LIKE '%.sql';"
29+
pnpx wrangler d1 execute exif-gallery-nuxt --remote \
30+
--command="UPDATE _hub_migrations SET name = name || '.sql' WHERE name NOT LIKE '%.sql';" \
31+
2>/dev/null || true
3032
env:
3133
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3234
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}

0 commit comments

Comments
 (0)