Add indexes on the MailingList table
commit6f0b236ea33ffe2899e813dc9bcbc58da0cbefee
authorAurélien Bompard <aurelien@bompard.org>
Thu, 14 Jan 2016 14:36:24 +0000 (14 15:36 +0100)
committerAurélien Bompard <aurelien@bompard.org>
Thu, 14 Jan 2016 14:36:26 +0000 (14 15:36 +0100)
treec87d2bf6709d211e5d87dc2cd2e1f065b9958326
parenta4ebbd164bdba4a7ede651dfcf802c300e8e9743
Add indexes on the MailingList table

Ensure that list_id is unique, and add indexes on two commonly
filtered-on fields: list_name and mail_host.
src/mailman/database/alembic/versions/781a38e146bf_mailinglist_indexes.py [new file with mode: 0644]
src/mailman/model/mailinglist.py