Comment 1 for bug 1255378

Revision history for this message
Aaron Wells (u-aaronw) wrote :

Here's the test file I used to test whether the script worked properly for some existing Mahara primary keys, foreign keys, and unique keys. Although the XMLDB library also defines an XMLDB_KEY_FOREIGN_UNIQUE type, there aren't actually any keys of that type in Mahara, so I left that test out.

Hm, and actually, the keys in my test script are ones that were added for https://bugs.launchpad.net/mahara/+bug/1081947 . So you'll have to install patch https://reviews.mahara.org/#/c/2744/ before the test will all work correctly.