drizzle-team / drizzle-team/drizzle-orm

[BUG]: Terminal CLI prompts on drizzle-kit push don't work

Open
#4,615 4 comments 6 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Report hasn't been filed before.

- [x] I have verified that the bug I'm about to report hasn't been filed before.

### What version of `drizzle-orm` are you using?

0.44.1

### What version of `drizzle-kit` are you using?

0.30.6

### Other packages

_No response_

### Describe the Bug

https://private-user-images.githubusercontent.com/38846104/300148403-e76ece86-15a5-41b5-91f0-b9ded846c789.mov

When you run `drizzle-kit push`, and drizzle-kit prompts you to select whether to rename or add a column, it's impossible to select a value, as you can see in the video.

No matter what key you push you cannot proceed.

To reproduce:
1. Push your database using drizzle-kit push.
2. Manually rename one of the columns.
3. Try drizzle-kit push again.
4. You will be offered whether to add or rename a column.
5. It's impossible to select anything in the CLI.

I'm on Mac using zsh.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.