Changeset 4916
- Timestamp:
- 04/03/07 16:59:56 (2 years ago)
- Files:
-
- django/branches/boulder-oracle-sprint/django/core/management.py (modified) (1 diff)
- django/branches/boulder-oracle-sprint/django/db/backends/ado_mssql/base.py (modified) (1 diff)
- django/branches/boulder-oracle-sprint/django/db/backends/mysql/base.py (modified) (1 diff)
- django/branches/boulder-oracle-sprint/django/db/backends/oracle/base.py (modified) (1 diff)
- django/branches/boulder-oracle-sprint/django/db/backends/postgresql/base.py (modified) (1 diff)
- django/branches/boulder-oracle-sprint/django/db/backends/postgresql_psycopg2/base.py (modified) (1 diff)
- django/branches/boulder-oracle-sprint/django/db/backends/sqlite3/base.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/boulder-oracle-sprint/django/core/management.py
r4854 r4916 483 483 484 484 for f in model._meta.fields: 485 if f.db_index :485 if f.db_index and not (f.primary_key and backend.autoindexes_primary_keys): 486 486 unique = f.unique and 'UNIQUE ' or '' 487 487 output.append( django/branches/boulder-oracle-sprint/django/db/backends/ado_mssql/base.py
r4758 r4916 91 91 allows_group_by_ordinal = True 92 92 allows_unique_and_pk = True 93 autoindexes_primary_keys = False 93 94 needs_datetime_string_cast = True 94 95 needs_upper_for_iops = False django/branches/boulder-oracle-sprint/django/db/backends/mysql/base.py
r4777 r4916 134 134 allows_group_by_ordinal = True 135 135 allows_unique_and_pk = True 136 autoindexes_primary_keys = False 136 137 needs_datetime_string_cast = True # MySQLdb requires a typecast for dates 137 138 needs_upper_for_iops = False django/branches/boulder-oracle-sprint/django/db/backends/oracle/base.py
r4843 r4916 69 69 allows_group_by_ordinal = False 70 70 allows_unique_and_pk = False # Suppress UNIQUE/PK for Oracle (ORA-02259) 71 autoindexes_primary_keys = True 71 72 needs_datetime_string_cast = False 72 73 needs_upper_for_iops = True django/branches/boulder-oracle-sprint/django/db/backends/postgresql/base.py
r4758 r4916 107 107 allows_group_by_ordinal = True 108 108 allows_unique_and_pk = True 109 autoindexes_primary_keys = False 109 110 needs_datetime_string_cast = True 110 111 needs_upper_for_iops = False django/branches/boulder-oracle-sprint/django/db/backends/postgresql_psycopg2/base.py
r4758 r4916 75 75 allows_group_by_ordinal = True 76 76 allows_unique_and_pk = True 77 autoindexes_primary_keys = False 77 78 needs_datetime_string_cast = False 78 79 needs_upper_for_iops = False django/branches/boulder-oracle-sprint/django/db/backends/sqlite3/base.py
r4758 r4916 102 102 allows_group_by_ordinal = True 103 103 allows_unique_and_pk = True 104 autoindexes_primary_keys = False 104 105 needs_datetime_string_cast = True 105 106 needs_upper_for_iops = False
