drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: Documentation around conflicts

Open
#2,132 4 comments 2 reactions 0 assignees View on GitHub
docs docs/improvements drizzle/kit priority
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Describe what you want

I cannot seem to find any documentation around how to handle conflicts in Drizzle, working on a codebase shared by many developers.

As an example, I have a PR that adds three new migrations. I need to rebase our main development branch which has since had 2 new migrations.
In this case, I will have conflicts on the journal/meta snapshot files and migration files numbered the same (but with different full file names).

What should be the process for handling the conflicts? Should it be a manual process of editing the journal? What happens to the snapshots files which will differ? Is there internal tooling to help with this?

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.