before data migration