Source

south / south / tests / db_mysql.py

Author Commit Message Labels Comments Date
F. Gabriel Gosselin
Wipe out the constraint cache for the entire database (since MySQL updates the whole cache at once)
F. Gabriel Gosselin
While testing rename of table with constraints, found that the new table (not yet being cached) passes tests in lookup_constraint. Must invalidate new table as well.
F. Gabriel Gosselin
Allow the columns referred to as part of a foreign key (ex. id field) to be renamed
F. Gabriel Gosselin
Implementing foreign key column rename
F. Gabriel Gosselin
Refactored the delete_column for MySQL to use a decorator (and rely on parent delete)
F. Gabriel Gosselin
Make unittests clean up after themselves
F. Gabriel Gosselin
Add reverse lookup to detect inbound foreign references (foreign keys referring to given table.column)
F. Gabriel Gosselin
Adding referenced table/column lookup for constraints (extension of existing lookup)