diff options
| author | Barry Warsaw | 2012-12-30 12:49:58 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2012-12-30 12:49:58 -0500 |
| commit | 5b6f92e726ee43453431e13e712deb7e4ecb20ef (patch) | |
| tree | 2b5d363f424d3218e4c23155e2465762b6b7e2f7 /src/mailman/database/schema/mm_20121015000000.py | |
| parent | 0f233dd350594228c34e3de60ae8820c38b236d7 (diff) | |
| download | mailman-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.py | 4 |
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) |
