﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36101	Support BIT data type model field for MySQL and PostgreSQL	Jordan Bae		"Support BIT data type model field for MySQL and PostgreSQL

Currently, Django's model fields do not support the BIT data type which is available in both MySQL and PostgreSQL databases.

Key reasons for adding BIT data type support:

1. Improved Database Inspection
   - When using `inspectdb` on tables containing BIT columns, Django currently falls back to TextField with a ""This field type is a guess"" comment
   - Native BitField support would provide accurate model generation for existing databases

2. Database-specific Features
   - MySQL: Support for BIT(M) where M can specify the number of bits
   - PostgreSQL: Support for both BIT(n) and BIT VARYING(n) types
   
3. Use Cases
   - Efficient storage of boolean flags and bit flags
   - Direct mapping to database-native bit operations
   - Better integration with legacy databases using BIT columns

This enhancement would improve Django's database type coverage and provide more efficient handling of bit-based data."	New feature	new	Database layer (models, ORM)	dev	Normal			Jordan Bae	Unreviewed	0	0	0	0	0	0
