-
Committer:
Barry Warsaw
-
Date:
2013-10-25 00:38:39 UTC
-
mfrom:
(7215.5.8 work3)
-
Revision ID:
barry@list.org-20131025003839-i9xx878hcx9fucdv
* The `bounceevent` table now uses list-ids to cross-reference the mailing
list, to match other tables. Similarly for the `IBounceEvent` interface.
Also:
- Move the acquisition of the database lock during creation to the
IDatabaseFactory.create() method instead of the individual database
initialize() methods.
- In the migration.rst doctest, don't delete teh version records when using
SQLite, since that breaks tests.
- Implement a few nice helpers for database migrations, including
make_listid() for turning a list name into a list id, and pivot() which
simplifies moving the backup table to the final table name.