def new(self, name):
        """
        Build a stub migration with name + auto-id in config['migration_home']

        There is no guarantee this id will be unique for all remote migration
        configurations. Conflicts will require manual management.
        """
        #XXX:dc: assert that the name is somewhat sane and follows python
        # naming conventions
        next_id = 0
        cls_name = '_'.join((name, next_id))
        with open(pjoin(self.migration_home, name), "w+") as new_migration:
            print >> new_migration, migration_tmpl.format(
                cls_name=cls_name, migration_name=name)
Build a stub migration with name + auto-id in config['migration_home']

        There is no guarantee this id will be unique for all remote migration
        configurations. Conflicts will require manual management.