Error when running migrations in newest drizzle-kit

When running a migration (drizzle-kit generate), I'm getting the following error:
"(0 , import_pg_core.isPgSequence) is not a function"

I'm using drizzle-orm 0.34.1 and drizzle-kit 0.24.0.

This is my drizzle config file:
import { defineConfig } from "drizzle-kit";

export default defineConfig({
    schema: ['./src/schema/index.ts'],
    out: './drizzle',
    dialect: 'postgresql'
});


Not sure what's causing this. Anyone got an idea?
Was this page helpful?