~barry/mailman/events-and-web

« back to all changes in this revision

Viewing changes to src/mailman/database/schema/sqlite_20120407000000_01.sql

  • Committer: Barry Warsaw
  • Date: 2012-10-16 22:40:12 UTC
  • Revision ID: barry@list.org-20121016224012-xxrd5zgkwdrmh9y4
Database
--------
 * The `ban` table now uses list-ids to cross-reference the mailing list,
   since these cannot change even if the mailing list is moved or renamed.

Interfaces
----------
 * The `IBanManager` is no longer a global utility.  Instead, you adapt an
   `IMailingList` to an `IBanManager` to manage the bans for a specific
   mailing list.  To manage the global bans, adapt ``None``.

Show diffs side-by-side

added added

removed removed

Lines of Context:
269
269
    preferences_id,
270
270
    user_id
271
271
    FROM member;
272
 
    
 
272
 
273
273
 
274
274
-- Add the new columns.  They'll get inserted at the Python layer.
275
275
ALTER TABLE ml_backup ADD COLUMN archive_policy INTEGER;