Commits

Show all
Author Commit Message Labels Comments Date
Álvaro Arranz García
Preserve column default values in the sqlite3 _remake_table method
Branches
bug-700
Álvaro Arranz García
Add " NOT NULL" to column definition if null_ok == False
Branches
bug-700
Dan Fairs
Actually try to select from the table we just deleted.
Asheesh Laroia
Adjust the sqlite3 alter_column method to accept ignore_constraints Before this patch, migrations written to call alter_column() and pass ignore_constraints=True (or =False) would work on database backends like MySQL, but fail on sqlite3 with a TyepError: TypeError: alter_column() got an unexpected keyword argument 'ignore_constraints' This patch fixes that.
Duncan Parkes
Load initial data and send signal when verbosity is False. Currently, if python manage.py migrate is run with verbosity 0, and there is nothing to migrate, then initial data is not loaded, and the post_migrate signal is not sent. If verbosity is 1 or 2, these things do happen (which seems like the right behaviour).
Andrew Godwin
Fix compatability with Django 1.2
Andrew Godwin
Fixed #766 -- Wrong foreign key check on MySQL
Andrew Godwin
Fix list comparison failing under new unittest
Andrew Godwin
Branch merge
shaib
Fix tests: failures were mistakenly blocked
Nikolay Zakharov
Oracle: proper altering of columns with NULL/NOT NULL Do not suppress expectable oracle errors on altering, but handle them.
Andrew Godwin
Fix missing cursor. Thanks to Gregor Mullegger.
Andrew Godwin
Fixed #754: Improper handling of CREATE TABLE with integer fields and checks under Oracle
Andrew Godwin
Branch merge
Stephan Jaensch
Merge commit
Stephan Jaensch
Oracle: properly delete CHECK constraints during alter column. Add testcase and comments to the generic backend.
jdunck
stderr, verbosity.
jdunck
migrationcheck command to clarify missing depends_on.
Andrew Godwin
Merge commit
Andrew Godwin
Fix copy error
agilebunch
Add UNIQUE constraint creation/deletion to alter_column()
agilebunch
Add proper transaction handling to testcase (fixes one PostgreSQL failure)
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.
  1. Prev
  2. Next