My favorites | Sign in
Project Home Wiki Issues
Checkout   Browse   Changes  
Revision: r177
Author:  chipx86
Date:  May 18, 2010
 

Log message

Fix table index names on Django 1.2

When generating a name for an index, Django 1.2 computes a hash for the
column name part of the table, in order to prevent index name length limits
on MySQL. This affects everything but PostgreSQL. This change fixes up the
unit tests to expect the new names, and the index name computation code
to use the same logic as Django.

Affected files

    expand all   collapse all
Modify/trunk/django_evolution/db/common.pydiff
Modify/trunk/django_evolution/db/postgresql.pydiff
Modify/trunk/django_evolution/tests/db/mysql.pydiff
Modify/trunk/django_evolution/tests/db/sqlite3.pydiff
Modify/trunk/django_evolution/tests/utils.pydiff

Powered by Google Project Hosting