Skip to content

Commit

Permalink
mention new tests and implied_indexes in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Nov 30, 2011
1 parent 7587436 commit 127a9fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions master/docs/developer/database.rst
Expand Up @@ -1066,6 +1066,11 @@ Your upgrade script should have unit tests. The classes in
Unit test scripts should be named e.g.,
:file:`test_db_migrate_versions_015_remove_bad_master_objectid.py`.

The :file:`master/buildbot/test/integration/test_upgrade.py` also tests
upgrades, and will confirm that the resulting database matches the model. If
you encounter implicit indexes on MySQL or Postgres, that do not appear on
SQLite, add them to ``implied_indexes`` in :file:`master/buidlbot/db/model.py`.

Database Compatibility Notes
----------------------------

Expand Down

0 comments on commit 127a9fe

Please sign in to comment.