From 78340d7ebc67ac7aeb6734ec4a8f025fb799cba8 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sun, 30 Dec 2012 13:09:55 -0500 Subject: Remove mailinglist.admin_member_chunksize. --- src/mailman/database/schema/mm_20121015000000.py | 4 +++- src/mailman/database/schema/sqlite_20121015000000_01.sql | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/mailman/database/schema') diff --git a/src/mailman/database/schema/mm_20121015000000.py b/src/mailman/database/schema/mm_20121015000000.py index 7745b8d9b..dc688d33b 100644 --- a/src/mailman/database/schema/mm_20121015000000.py +++ b/src/mailman/database/schema/mm_20121015000000.py @@ -96,8 +96,10 @@ def upgrade_postgres(database, store, version, module_path): 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 private_roster;') store.execute( 'ALTER TABLE mailinglist DROP COLUMN subscribe_auto_approval;') + store.execute('ALTER TABLE mailinglist DROP COLUMN private_roster;') + store.execute( + 'ALTER TABLE mailinglist DROP COLUMN admin_member_chunksize;') # Record the migration in the version table. database.load_schema(store, version, None, module_path) diff --git a/src/mailman/database/schema/sqlite_20121015000000_01.sql b/src/mailman/database/schema/sqlite_20121015000000_01.sql index 0526f9c8e..3e2410c3b 100644 --- a/src/mailman/database/schema/sqlite_20121015000000_01.sql +++ b/src/mailman/database/schema/sqlite_20121015000000_01.sql @@ -28,6 +28,7 @@ ALTER TABLE ban_backup ADD COLUMN list_id TEXT; -- REM unsubscribe_policy -- REM subscribe_auto_approval -- REM private_roster +-- REM admin_member_chunksize CREATE TABLE ml_backup ( id INTEGER NOT NULL, @@ -36,7 +37,6 @@ CREATE TABLE ml_backup ( allow_list_posts BOOLEAN, include_rfc2369_headers BOOLEAN, created_at TIMESTAMP, - admin_member_chunksize INTEGER, next_request_id INTEGER, next_digest_number INTEGER, digest_last_sent_at TIMESTAMP, @@ -137,7 +137,6 @@ INSERT INTO ml_backup SELECT allow_list_posts, include_rfc2369_headers, created_at, - admin_member_chunksize, next_request_id, next_digest_number, digest_last_sent_at, -- cgit v1.3.1