Skip to content

Add database constraints on enum fields by default. #45

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

Closed
bckohan opened this issue Apr 29, 2023 · 0 comments
Closed

Add database constraints on enum fields by default. #45

bckohan opened this issue Apr 29, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bckohan
Copy link
Member

bckohan commented Apr 29, 2023

You should be able to toggle constraints on/off using a kwarg to EnumField

@bckohan bckohan self-assigned this Apr 29, 2023
@bckohan bckohan added the enhancement New feature or request label Apr 29, 2023
@bckohan bckohan added this to the Version 2.0 milestone May 1, 2023
@bckohan bckohan changed the title Add database constraints for strict=True fields by default. Add database constraints on enum fields by default. Jul 16, 2023
@bckohan bckohan closed this as completed Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant