mirror of
				https://github.com/django/django.git
				synced 2025-10-26 07:06:08 +00:00 
			
		
		
		
	Fixed #1032 -- CREATE TABLE SQL in Postgres now quotes column name in 'CHECK' clause. Thanks, exoweb adrian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1583 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -174,8 +174,8 @@ DATA_TYPES = { | ||||
|     'NullBooleanField':  'boolean', | ||||
|     'OneToOneField':     'integer', | ||||
|     'PhoneNumberField':  'varchar(20)', | ||||
|     'PositiveIntegerField': 'integer CHECK (%(column)s >= 0)', | ||||
|     'PositiveSmallIntegerField': 'smallint CHECK (%(column)s >= 0)', | ||||
|     'PositiveIntegerField': 'integer CHECK ("%(column)s" >= 0)', | ||||
|     'PositiveSmallIntegerField': 'smallint CHECK ("%(column)s" >= 0)', | ||||
|     'SlugField':         'varchar(50)', | ||||
|     'SmallIntegerField': 'smallint', | ||||
|     'TextField':         'text', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user