Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: generate - Contraints changes are not detected #2327

Closed
rphlmr opened this issue May 15, 2024 · 1 comment
Closed

[BUG]: generate - Contraints changes are not detected #2327

rphlmr opened this issue May 15, 2024 · 1 comment
Labels
bug Something isn't working drizzle-kit

Comments

@rphlmr
Copy link

rphlmr commented May 15, 2024

What version of drizzle-orm are you using?

0.30.10

What version of drizzle-kit are you using?

0.21.2

Describe the Bug

Same #2302

drizzle-kit generate doesn't see constraint changes,

Add or remove a constraint (.notNull() for exemple) to a column and run drizzle-kit generate

Repro: https://stackblitz.com/edit/stackblitz-starters-m6iqlq?file=README.md

Expected behavior

Detect the changes

Environment & setup

No response

@rphlmr rphlmr added the bug Something isn't working label May 15, 2024
@AndriiSherman
Copy link
Member

This should be fixed in drizzle-kit@0.21.3. If the issue persists, feel free to reopen it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working drizzle-kit
Projects
None yet
Development

No branches or pull requests

3 participants