Switch to unified view

a/Allura/allura/migrations.py b/Allura/allura/migrations.py
...
...
17
class DeleteFlashMailboxes(Migration):
17
class DeleteFlashMailboxes(Migration):
18
    version = 12
18
    version = 12
19
19
20
    def up(self):
20
    def up(self):
21
        if self.session.db.name == 'allura':
21
        if self.session.db.name == 'allura':
22
            self.ormsession.delete(
22
            self.ormsession.remove(
23
                M.Mailbox,
23
                M.Mailbox,
24
                {'type':'flash'})
24
                {'type':'flash'})
25
25
26
    def down(self):
26
    def down(self):
27
        raise NotImplementedError, 'ClearMailboxes.down'
27
        raise NotImplementedError, 'ClearMailboxes.down'