BATCH-1977 -  migration script for batch 2.1 tables to batch 2.2