Django

Code

Ticket #1830 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

mysql inspectdb creates wrong field type for tinyInt

Reported by: mir@noris.de Assigned to: adrian
Milestone: Component: django.contrib.admin
Version: SVN Keywords: mysql inspectdb
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

A column definition in the database like

  `zahlung` tinyint(4) default NULL,

is translated into a CharField?.

I use MySql? 4.1.

Attachments

Change History

05/16/06 15:41:38 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #1830 (mysql inspectdb creates wrong field type for tinyInt)




Change Properties
Action