drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: Non-interactive conflict resolution (AI-friendly)

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

Description

### Feature hasn't been suggested before.

- [x] I have verified this feature I'm about to request hasn't been suggested before.

### Describe the enhancement you want to request

`drizzle-kit generate` may prompt when it detects potential renames/moves (tables/columns/etc). For automation, you can export those questions as JSON and then re-run `generate` with answers.

```shell
# 1) Export questions
drizzle-kit generate --preflight > prompts.json

# 2) Fill in answers in prompts.json (add `answer` to each question)
drizzle-kit generate --answers prompts.json
```

Notes:
- `--answers` accepts a file path or an inline JSON string.

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.