Opened 20 years ago
Closed 19 years ago
#1830 closed defect (fixed)
mysql inspectdb creates wrong field type for tinyInt
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | contrib.admin | Version: | dev | 
| Severity: | normal | Keywords: | mysql inspectdb | 
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
A column definition in the database like
`zahlung` tinyint(4) default NULL,
is translated into a CharField.
I use MySql 4.1.
  Note:
 See   TracTickets
 for help on using tickets.
    
(In [2922]) Fixed #1830 -- MySQL inspectdb now detects tinyint field properly