You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an error when I want to push my drizzle schema to database.
Solution
After create project, it should be automatically to generate command db:generate in package.json, so user can generate, migrate the schema to database
Reproduction
Warning '@neondatabase/serverless' can only connect to remote Neon/Vercel Postgres/Supabase instances through a websocket
[⣷] applying migrations...Error: Can't find meta/_journal.json file
I'm able to reproduce this. Although the proposed solution will not work in this case, as we cannot magically generate a valid URL that's specific to your NEON / Vercel / Supabase account.
What we could do though, would be to imrpove the next steps section, in case Neon is selected. Currently:
◇ Next steps ─────────────────────────────────────────────────────────╮
│ │
│ - You will need to set DATABASE_URL in your production environment │
│ - Run pnpm run db:push to update your database schema │
│ │
├──────────────────────────────────────────────────────────────────────╯
Describe the bug
There is an error when I want to push my drizzle schema to database.
Solution
After create project, it should be automatically to generate command db:generate in package.json, so user can generate, migrate the schema to database
Reproduction
Warning '@neondatabase/serverless' can only connect to remote Neon/Vercel Postgres/Supabase instances through a websocket
[⣷] applying migrations...Error: Can't find meta/_journal.json file
Logs
No response
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: