Opened 10 years ago

Closed 10 years ago

#1830 closed defect (fixed)

mysql inspectdb creates wrong field type for tinyInt

Reported by: mir@… Owned by: adrian
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: UI/UX:


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 10 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

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