Skip to content

Empty schema.ts when I migrate to Drizzle #591

Open
@ladetunji

Description

@ladetunji

Describe the bug
I got an empty schema.ts file after the "npx drizzle-kit pull" command (Step 4).
Is this right?
Also, got 0 tables in the sql migration file and the connected neon DB.
Is that right too?
I then tried doing it from the Better Auth migration guide (Step 5), but I keep getting env errors even after setting my Database URL

next-forge version
I am using version 5.0.2

To Reproduce
Steps to reproduce the behavior:

  1. Follow the Drizzle migration guide on the website

Expected behavior
I assumed it would copy over the former tables/records from Prisma

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Ubuntu on WSL2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions