drizzle-team / drizzle-orm

Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
https://orm.drizzle.team
Apache License 2.0
23.56k stars 579 forks source link

[BUG]: Drizzle-kit push not making changes #2369

Open aliy321 opened 4 months ago

aliy321 commented 4 months ago

What version of drizzle-orm are you using?

v0.30.10

What version of drizzle-kit are you using?

v0.21.4

Describe the Bug

When i create new column and generate > push. it keeps prompting me

Is test column in posts table created or renamed from another column?
❯ + test           create column
  ~ content › test rename column

but it didnt update the schema or table, i can still run push again and still show me the same prompt.

Using turso/sqlite

Expected behavior

I can see that the generate is working as expected as it creates new file with correct changes. Push should technically update the column of the table but its not.

Environment & setup

No response