drizzle-kit migration schema push error

Hi, I upgraded my drizzle-kit to the latest version. After updating my drizzle.config.ts file, I tried to run drizzle-kit push. This is the error I'm getting:
Reading config file 'drizzle.config.ts' [✓] Pulling schema from database... TypeError: Cannot read properties of undefined (reading 'map') at SQLiteCreateTableConvertor.convert (node_modules/.pnpm/[email protected]/node_modules/drizzle-kit/bin.cjs:20204:49) ...
Am I missing something?
1 Reply
wylex
wylexOP4mo ago
Here's my config file:
export default defineConfig({
schema: "./lib/db/schema.ts",
dialect: "sqlite",
driver: "turso",
dbCredentials: {
url: env.TURSO_DATABASE_URL,
authToken: env.TURSO_AUTH_TOKEN,
}
})
export default defineConfig({
schema: "./lib/db/schema.ts",
dialect: "sqlite",
driver: "turso",
dbCredentials: {
url: env.TURSO_DATABASE_URL,
authToken: env.TURSO_AUTH_TOKEN,
}
})
Want results from more Discord servers?
Add your server