def METHOD_NAME(apps, schema_editor):
    Sample = apps.get_model("seqr", "Sample")
    IgvSample = apps.get_model("seqr", "IgvSample")
    db_alias = schema_editor.connection.alias
    alignment_samples = IgvSample.objects.using(db_alias).all()
    if alignment_samples:
        print('Transferring {} alignment samples'.format(len(alignment_samples)))
        Sample.objects.bulk_create([
            Sample(
                dataset_type='ALIGN',
                is_active=True,
                guid=sample.guid,
                dataset_file_path=sample.file_path,
                last_modified_date=sample.last_modified_date,
                individual=sample.individual,
                created_date=sample.created_date,
                created_by=sample.created_by,
            ) for sample in alignment_samples])
        print('Deleting old sample models')
        alignment_samples.delete()