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

Add TinyIntegerField and PositiveTinyIntegerField #1121

Open
UnknownPlatypus opened this issue Nov 18, 2024 · 1 comment
Open

Add TinyIntegerField and PositiveTinyIntegerField #1121

UnknownPlatypus opened this issue Nov 18, 2024 · 1 comment

Comments

@UnknownPlatypus
Copy link

Description

Hi Adam,

This is a small feature request about adding support for the mysql type TYNYINT with 2 fields TinyIntegerField and PositiveTinyIntegerField. I would be happy to provide a PR for this.

I found a related discussion in #749, however I am unsure this belongs as a Django core feature for the TINYINT case because postgresql (which I believe is the most used django DB backend) doesn't have a TINYINT type, only the 2 bytes SMALLINT type.

Thanks in advance

@adamchainz
Copy link
Owner

Sure, we can do that. The existing fields should hopefully give you enough pointers as to how to write the code, docs, and tests! Good luck.

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

2 participants