Opened 18 years ago

Closed 18 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: 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.

Change History (1)

comment:1 by Adrian Holovaty, 18 years ago

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