Ticket #42: db.patch
File db.patch, 1.0 KB (added by , 19 years ago) |
---|
-
django/core/db/backends/postgresql.py
105 105 'IPAddressField': 'inet', 106 106 'ManyToManyField': None, 107 107 'NullBooleanField': 'boolean', 108 'OneToOneField': None, 108 109 'PhoneNumberField': 'varchar(20)', 109 110 'PositiveIntegerField': 'integer CHECK (%(name)s >= 0)', 110 111 'PositiveSmallIntegerField': 'smallint CHECK (%(name)s >= 0)', -
django/core/db/backends/mysql.py
95 95 'IPAddressField': 'char(15)', 96 96 'ManyToManyField': None, 97 97 'NullBooleanField': 'bool', 98 'OneToOneField': None, 98 99 'PhoneNumberField': 'varchar(20)', 99 100 'PositiveIntegerField': 'integer UNSIGNED', 100 101 'PositiveSmallIntegerField': 'smallint UNSIGNED',