migrate: Add do_batch_update method for running batch updates.

* Refactor pgroonga_0002 migration to use new method.
This commit is contained in:
Sampriti Panda
2018-05-31 06:04:15 +05:30
committed by Tim Abbott
parent eddcec5e86
commit e95f972e24
3 changed files with 50 additions and 11 deletions

View File

@@ -449,6 +449,7 @@ def build_custom_checkers(by_lang):
'zerver/migrations/0041_create_attachments_for_old_messages.py',
'zerver/migrations/0060_move_avatars_to_be_uid_based.py',
'zerver/migrations/0104_fix_unreads.py',
'pgroonga/migrations/0002_html_escape_subject.py',
]),
'description': "Don't import models or other code in migrations; see docs/subsystems/schema-migrations.md",
},