summaryrefslogtreecommitdiff
path: root/src/mailman/database/schema/mm_20121015000000.py
diff options
context:
space:
mode:
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)