Ticket #8347: django_sqlite_backend_introspection_real_missing.2.diff

File django_sqlite_backend_introspection_real_missing.2.diff, 914 bytes (added by trbs, 16 years ago)
  • django/db/backends/sqlite3/introspection.py

    diff -r e6d35dbba29d django/db/backends/sqlite3/introspection.py
    a b  
    1111        'bool': 'BooleanField',
    1212        'boolean': 'BooleanField',
    1313        'smallint': 'SmallIntegerField',
     14        'smallint unsigned': 'PositiveSmallIntegerField',
    1415        'smallinteger': 'SmallIntegerField',
    1516        'int': 'IntegerField',
    1617        'integer': 'IntegerField',
     18        'integer unsigned': 'PositiveIntegerField',
     19        'decimal': 'DecimalField',
     20        'real': 'FloatField',
    1721        'text': 'TextField',
    1822        'char': 'CharField',
    1923        'date': 'DateField',
     
    8791                 'pk': field[5]     # undocumented
    8892                 } for field in cursor.fetchall()]
    8993
     94                   
     95 No newline at end of file
Back to Top