Unable to generate migration for sqlite

Hello!

After upgrading to drizzle-kit 0.20.2 from 0.19.13 I can't generate migrations anymore. I'm using libsql and the error when running
drizzle-kit generate:sqlite --schema=./src/schema/main.ts --out ./drizzle/migrations

is about postgres:

Error: Cannot find module 'drizzle-orm/pg-core'


Any ideas? Did the command changed? I'm not using drizzle.config file

Thanks in advance!

"drizzle-kit": "^0.20.2",
"drizzle-orm": "^0.29.0",


My schema uses

import { InferSelectModel, sql } from 'drizzle-orm'
import { sqliteTable, text, blob, index } from 'drizzle-orm/sqlite-core'


If I try to downgrade to the working version, it won't allow me:

drizzle-kit: v0.19.13
drizzle-orm: v0.29.0

This version of drizzle-kit is outdated
Please update drizzle-kit package to the latest version 👍
Was this page helpful?