drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: ADD PROPER SQL LOGS TO MIGRATION COMMAND

Open
#5,836 0 comments 5 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

Its very difficult to debug when a migration failed during ```drizzle-kit migrate``` command and the only logs that we're provided is this
```
error: script "db:migrate" exited with code 1
error: script "db:migrate" exited with code 1
```

It would be very helpful if migration command can resurface the actual SQL error and logs (if any)

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.