From e08c2d6d9ef6c4e6d78c054cecd5829c5711617e Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 25 Jul 2012 23:46:59 -0400 Subject: And now, working for PostgreSQL. --- src/mailman/database/schema/mm_20120407000000.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mailman/database') 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. -- cgit v1.3.1