drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: Drizzle Kit migrations should include `foreign_key_checks` statements

Open
#3,265 0 comments 0 reactions 0 assignees View on GitHub
db/mysql drizzle/kit improvement
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Describe what you want

From drizzle-kit-mirror repo: https://github.com/drizzle-team/drizzle-kit-mirror/issues/176.

> MySQL migration files created by Drizzle Kit do not include `foreign_key_checks` statements when it generates migration files that deal with FK constraints.
>
> Issue submitted upon request, see [here](https://discord.com/channels/1043890932593987624/1144572247579828315/1145780231144218764)

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.