diff options
| author | Barry Warsaw | 2012-07-25 23:46:59 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2012-07-25 23:46:59 -0400 |
| commit | e08c2d6d9ef6c4e6d78c054cecd5829c5711617e (patch) | |
| tree | 8e451420428b8b26ea1c3512423b50106a1b7b0a | |
| parent | 30ecd410ba83dc32ad021a2d2c841761befe3079 (diff) | |
| download | mailman-e08c2d6d9ef6c4e6d78c054cecd5829c5711617e.tar.gz mailman-e08c2d6d9ef6c4e6d78c054cecd5829c5711617e.tar.zst mailman-e08c2d6d9ef6c4e6d78c054cecd5829c5711617e.zip | |
And now, working for PostgreSQL.
| -rw-r--r-- | src/mailman/database/schema/mm_20120407000000.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mailman/database/schema/mm_20120407000000.py b/src/mailman/database/schema/mm_20120407000000.py index 95b56c939..3e778ea8f 100644 --- a/src/mailman/database/schema/mm_20120407000000.py +++ b/src/mailman/database/schema/mm_20120407000000.py @@ -112,6 +112,9 @@ def upgrade_postgres(database, store, version, module_path): store.execute( 'ALTER TABLE mailinglist ' ' RENAME COLUMN news_moderation TO newsgroup_moderation;') + store.execute( + 'ALTER TABLE mailinglist ' + ' RENAME COLUMN include_list_post_header TO allow_list_posts;') # Do the column drop next. store.execute('ALTER TABLE mailinglist DROP COLUMN nntp_host;') # Now do the trickier collapsing of values. Add the new columns. |
