Commits

Author Commit Message Labels Comments Date
Stephan Jaensch
Add testcase for altering unique constraints through alter_column().
Stephan Jaensch
Continue work on constraint cache, make sure the correct column names are used. Fix UNIQUE constraint creation/deletion on altering columns, fixes South issue #735.
Stephan Jaensch
Fix constraint cache handling
Stephan Jaensch
Oracle: do not try to drop a sequence that does not exist, fixes test_add_columns
Stephan Jaensch
Change testcase: since Oracle treats empty strings as NULL, Django coerces fields to NULL=True if the field does allow empty strings on a database level. Because of this, the test test_alter_column_null always fails. Changing the tested field to a float (which does not allow empty values on a database level) makes the test pass on Oracle.
Stephan Jaensch
- Handle NOT NULL to NULL migrations correctly when altering columns - Bugfix: catch the correct exception
Stephan Jaensch
Oracle backend: - remove custom quote function, make sure identifiers are actually quoted - use uppercase instead of lowercase table names - fixes migration tests/fakeapp/migrations/0002_eggs.py (column name "size" was not quoted properly)
Andrew Godwin
Fixed #727: Defaults on geometry columns with MySQL.
Andrew Godwin
Fixed #734: Oracle renaming. Thanks to Stephan Jaensch.
Andrew Godwin
Branch merge.
Andrew Godwin
Fixed #733: Oracle constraint cache issues
Andrew Godwin
Fixed #412: Oracle backend generating invalid SQL
John Paulett
Avoid flushing the database during create_test_db to preserve data migrations. Django 1.3-rc-1 introduced a backwards incompatible change (#14661) that runs flush after syncdb during testing, thus clearing out all South data migrations. This fix no-ops the flush command during create_test_db, but allows flush in test teardowns.
Andrew Godwin
Rebase work I found.
Branches
rebase
Andrew Godwin
Merge
Andrew Godwin
Fixed #731: Bad SlugField freezing
Lorenzo Gil Sánchez
But two lines between class definitions. See #667
Lorenzo Gil Sánchez
Only one empty line between methods is what pep8 recommends. See #667
Andrew Godwin
Initial patch import from ticket #430
Branches
autofakefirst
Andrew Godwin
Branch merge
Andrew Godwin
Compatability fix for older Python versions.
Andrew Godwin
Fixed #523: Issues with constraint selection. Thanks dpmcgee.
shaib
Define a warning for dropped constraints, and issue if for SqlServer.
shaib
Avoid restoring check constraints in alter column for compatibility with other backends in South.
shaib
More fixes to SqlServer, make more migrations pass, pass all tests but one.
shaib
Make more tests SqlServer friendly. Only one failure left, it needs fix in backend and not in test.
shaib
Branch merge
shaib
Make some test more Sql-Server friendly
shaib
Include NullBooleanField in BooleanField fix
shaib
Make more migrations pass without errors with mssql
  1. Prev
  2. Next