© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2mo ago•
38 replies
LukeZ

Database not working after migration to CF Workers

🟢SSR🔢DB Connections🤷other🟡javascript
I recently migrated my SvelteKit website from Vercel to CF Workers and now the database connection (I suppose?) is not working and it doesn't return entries. Only after I logged into the internal dashboard (authenticated) and refreshed about 10 times it works. Otherwise it doesn't find any concerts.
The same issue is on the internal page where concerts are displayed.
I assume I messed something up in the server hooks.

I'm not on my PC right now, so I can't view the console.

Code: https://github.com/The-LukeZ/burning-dezibelz-v3/blob/master/src%2Fhooks.server.ts
Website: https://burningdezibelz.de
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

RLS not applied to the view after migration
SupabaseSSupabase / help-and-questions
3mo ago
Production database in dashboard -> to migration files
SupabaseSSupabase / help-and-questions
2mo ago
Database Webhook not working with Discord
SupabaseSSupabase / help-and-questions
13mo ago
How to set-up a database migration workflow ?
SupabaseSSupabase / help-and-questions
4y ago