I keep getting a Drift detected when trying to do ...
# orm-help
d
I keep getting a Drift detected when trying to do
px prisma migrate dev --name initial-migration --create-only
but
npx prisma db push
returns all is synced. even did and introspect. I don’t have any migrations, I worked only with db push until now.
d
hey, so try following these steps: 1. Point db url at new, empty db 2. Generate migration 3. Switch db url back to correct db 4. resolve the migration 5. Try to create an empty migration
👍 2
👀 2
✅ 2
Hopefully that will get it all working
🚀 1
d
Damn man, that was some stealth shit! It worked!!
d
I’ve done this many times
I think its checking against the database and freaking out that there is stuff in it before you can even create a baseline
❤️ 1
l
I was about to ask the same question!!
j
Also report these cases please as issues... that should obviously not happen.