postgresql_with_schemas: now will properly create indexes.
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 9 Feb 2010 01:00:15 +0000 (01:00 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 9 Feb 2010 01:00:15 +0000 (01:00 +0000)
commitce4d38bb949c98202c90172305c1795603fac305
treef040ae57a79b5e523449a5d5fde5da41eb111412
parent5dfb97fcb5783f575f060749d76e8833eac1f55f
postgresql_with_schemas: now will properly create indexes.

Django tries to derive index names from the db_table names and column
names; but the default Postgres backend, being non-schema-aware, was
trying to use dotted names for indexes (and that's wrong).

This patch corrects the issue by overriding the index-naming code and
removing the dotted names.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/branches/eg-schema-experiment@771 6d9bc8c9-1ec2-4278-b937-99fde70a366f
conifer/evergreen/backends/postgresql_with_schemas/base.py
conifer/evergreen/backends/postgresql_with_schemas/creation.py [new file with mode: 0644]