executor is an instance of the class MigrationExecutor created with an argument: value under the DEFAULT_DB_ALIAS key of the connections dictionary.
executor = MigrationExecutor ( connections [ DEFAULT_DB_ALIAS ] )