Skip to content

Bug when drizzle generate command after create project #377

@ikrom

Description

@ikrom

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

System:
    OS: macOS 14.5
    CPU: (8) arm64 Apple M3
    Memory: 140.92 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
Binaries:
    Node: 22.11.0 - /usr/local/bin/node
    npm: 10.9.0 - /usr/local/bin/npm
    pnpm: 9.15.0 - /opt/homebrew/bin/pnpm
    bun: 1.1.38 - ~/.bun/bin/bun
Browsers:
    Chrome: 131.0.6778.205
    Safari: 17.5
npmPackages:
    @sveltejs/adapter-vercel: ^5.5.0 => 5.5.2 
    @sveltejs/kit: ^2.0.0 => 2.15.0 
    @sveltejs/vite-plugin-svelte: ^4.0.0 => 4.0.4 
    svelte: ^5.0.0 => 5.16.0 
    vite: ^5.4.11 => 5.4.11

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions