mirror of
https://github.com/django/django.git
synced 2025-10-06 08:40:42 +00:00
Fixed #42 -- OneToOneField now works with SQL generation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
729fc547ef
commit
6ae4def03b
2 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,7 @@ DATA_TYPES = {
|
|||
'IPAddressField': 'inet',
|
||||
'ManyToManyField': None,
|
||||
'NullBooleanField': 'boolean',
|
||||
'OneToOneField': 'integer',
|
||||
'PhoneNumberField': 'varchar(20)',
|
||||
'PositiveIntegerField': 'integer CHECK (%(name)s >= 0)',
|
||||
'PositiveSmallIntegerField': 'smallint CHECK (%(name)s >= 0)',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue