summaryrefslogtreecommitdiff
path: root/src/mailman/database/schema/mm_20121015000000.py
diff options
context:
space:
mode:
authorBarry Warsaw2012-12-30 12:49:58 -0500
committerBarry Warsaw2012-12-30 12:49:58 -0500
commit5b6f92e726ee43453431e13e712deb7e4ecb20ef (patch)
tree2b5d363f424d3218e4c23155e2465762b6b7e2f7 /src/mailman/database/schema/mm_20121015000000.py
parent0f233dd350594228c34e3de60ae8820c38b236d7 (diff)
downloadmailman-5b6f92e726ee43453431e13e712deb7e4ecb20ef.tar.gz
mailman-5b6f92e726ee43453431e13e712deb7e4ecb20ef.tar.zst
mailman-5b6f92e726ee43453431e13e712deb7e4ecb20ef.zip
Diffstat (limited to 'src/mailman/database/schema/mm_20121015000000.py')
-rw-r--r--src/mailman/database/schema/mm_20121015000000.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mailman/database/schema/mm_20121015000000.py b/src/mailman/database/schema/mm_20121015000000.py
index 1ef368bfc..dd6d23ca7 100644
--- a/src/mailman/database/schema/mm_20121015000000.py
+++ b/src/mailman/database/schema/mm_20121015000000.py
@@ -94,5 +94,9 @@ def upgrade_postgres(database, store, version, module_path):
store.execute('ALTER TABLE ban DROP COLUMN mailing_list;')
store.execute('ALTER TABLE mailinglist DROP COLUMN new_member_options;')
store.execute('ALTER TABLE mailinglist DROP COLUMN send_reminders;')
+ store.execute('ALTER TABLE mailinglist DROP COLUMN subscribe_policy;')
+ store.execute('ALTER TABLE mailinglist DROP COLUMN unsubscribe_policy;')
+ store.execute(
+ 'ALTER TABLE mailinglist DROP COLUMN subscribe_auto_approval;')
# Record the migration in the version table.
database.load_schema(store, version, None, module_path)