wylex
DTDrizzle Team
•Created by wylex on 7/31/2024 in #help
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?
2 replies
DTDrizzle Team
•Created by wylex on 6/14/2024 in #help
__old_push table
Hi,
I just ran a
pnpm drizzle-kit push:sqlite
to push some schema changes to my turso db. I basically added a single column to a table with a default value. I then removed the column and pushed again. Now I have a new column __old_push and it seems I'm stuck in an intermediate state. Is there a fix for this?4 replies