Opened 13 years ago

Closed 13 years ago

#1830 closed defect (fixed)

mysql inspectdb creates wrong field type for tinyInt

Reported by: mir@… Owned by: Adrian Holovaty
Component: contrib.admin Version: master
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


A column definition in the database like

  `zahlung` tinyint(4) default NULL,

is translated into a CharField.

I use MySql 4.1.

Change History (1)

comment:1 Changed 13 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [2922]) Fixed #1830 -- MySQL inspectdb now detects tinyint field properly

Note: See TracTickets for help on using tickets.
Back to Top