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

Constraints do not get carried over into migrations #232

Open
vethan opened this issue Mar 4, 2024 · 0 comments
Open

Constraints do not get carried over into migrations #232

vethan opened this issue Mar 4, 2024 · 0 comments

Comments

@vethan
Copy link

vethan commented Mar 4, 2024

Adding a constraint, either in a field's parameters of through a model's Meta class does not propagate to generated migration files.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Model with a Check constraint
  2. Run pee_wee migrate
  3. Observe constraints are missing from migration file

Expected behavior
Constraints to be added to migration file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant