diff options
| author | Abhilash Raj | 2014-10-10 10:29:43 +0530 |
|---|---|---|
| committer | Abhilash Raj | 2014-10-10 10:29:43 +0530 |
| commit | 9cc31df3831298fcc1d698306a74cad6f82a1dc1 (patch) | |
| tree | bd0c48284ea83a107fa6d780aa4137776b644ab9 /src/mailman/model/autorespond.py | |
| parent | e3a856b28d53784dbf0a58af38002dbee1f26b01 (diff) | |
| download | mailman-9cc31df3831298fcc1d698306a74cad6f82a1dc1.tar.gz mailman-9cc31df3831298fcc1d698306a74cad6f82a1dc1.tar.zst mailman-9cc31df3831298fcc1d698306a74cad6f82a1dc1.zip | |
Diffstat (limited to 'src/mailman/model/autorespond.py')
| -rw-r--r-- | src/mailman/model/autorespond.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/model/autorespond.py b/src/mailman/model/autorespond.py index c74434f7b..2293f5dcd 100644 --- a/src/mailman/model/autorespond.py +++ b/src/mailman/model/autorespond.py @@ -44,14 +44,14 @@ from mailman.utilities.datetime import today class AutoResponseRecord(Model): """See `IAutoResponseRecord`.""" - __tablename__ = 'autorespondrecord' + __tablename__ = 'autoresponserecord' id = Column(Integer, primary_key=True) - address_id = Column(Integer, ForeignKey('address.id')) + address_id = Column(Integer, ForeignKey('address.id'), index=True) address = relationship('Address') - mailing_list_id = Column(Integer, ForeignKey('mailinglist.id')) + mailing_list_id = Column(Integer, ForeignKey('mailinglist.id'), index=True) mailing_list = relationship('MailingList') response_type = Column(Enum(Response)) |
