diff options
Diffstat (limited to 'src/mailman/database')
| -rw-r--r-- | src/mailman/database/mailinglist.py | 5 | ||||
| -rw-r--r-- | src/mailman/database/mailman.sql | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/mailman/database/mailinglist.py b/src/mailman/database/mailinglist.py index 22de044e3..b8cf3e01c 100644 --- a/src/mailman/database/mailinglist.py +++ b/src/mailman/database/mailinglist.py @@ -61,6 +61,9 @@ class MailingList(Model): # List identity list_name = Unicode() host_name = Unicode() + list_id = Unicode() + include_list_post_header = Bool() + include_rfc2369_headers = Bool() # Attributes not directly modifiable via the web u/i created_at = DateTime() admin_member_chunksize = Int() @@ -130,8 +133,6 @@ class MailingList(Model): goodbye_msg = Unicode() header_matches = Pickle() hold_these_nonmembers = Pickle() - include_list_post_header = Bool() - include_rfc2369_headers = Bool() info = Unicode() linked_newsgroup = Unicode() max_days_to_hold = Int() diff --git a/src/mailman/database/mailman.sql b/src/mailman/database/mailman.sql index 6f73c3974..fa772416f 100644 --- a/src/mailman/database/mailman.sql +++ b/src/mailman/database/mailman.sql @@ -74,8 +74,13 @@ CREATE TABLE language ( ); CREATE TABLE mailinglist ( id INTEGER NOT NULL, + -- List identity list_name TEXT, host_name TEXT, + list_id TEXT, + include_list_post_header BOOLEAN, + include_rfc2369_headers BOOLEAN, + -- Attributes not directly modifiable via the web u/i created_at TIMESTAMP, admin_member_chunksize INTEGER, next_request_id INTEGER, @@ -136,8 +141,6 @@ CREATE TABLE mailinglist ( goodbye_msg TEXT, header_matches BLOB, hold_these_nonmembers BLOB, - include_list_post_header BOOLEAN, - include_rfc2369_headers BOOLEAN, info TEXT, linked_newsgroup TEXT, max_days_to_hold INTEGER, |
