def METHOD_NAME(self, update_branch_status=True):
    """
    Create the tables in the DB and make any jobs ready.
    """
    base_commit = GitCommitData.GitCommitData(
        self.branch.repository.user.name,
        self.branch.repository.name,
        self.branch.name,
        self.latest,
        "",
        self.branch.repository.user.server,
        )
    base = base_commit.create()
    recipes = [self.recipe]
    if self.recipe is None:
        recipes = models.Recipe.objects.filter(active=True,
                current=True,
                build_user=self.user,
                branch=base.branch,
                cause=models.Recipe.CAUSE_MANUAL,
                activate_label=self.activate_label,
                ).order_by('-priority', 'display_name').all()
    if not recipes:
        if self.activate_label:
            logger.info("No manual recipes on %s for %s with label '%s'" % (
                base.branch, self.user, self.activate_label))
        else:
            logger.info("No manual recipes on %s for %s" % (base.branch, self.user))
        base_commit.remove()
        return
    self.branch.repository.active = True
    self.branch.repository.METHOD_NAME()
    ev, created = models.Event.objects.get_or_create(build_user=self.user,
            head=base,
            base=base,
            cause=models.Event.MANUAL,
            duplicates=0)
    if created:
        ev.complete = False
        ev.update_branch_status = update_branch_status
        ev.description = '(scheduled)'
        ev.METHOD_NAME()
        logger.info("Created manual event on %s for %s" % (self.branch, self.user))
    elif self.force:
        last_ev = models.Event.objects.filter(build_user=self.user,
                head=base,
                base=base,
                cause=models.Event.MANUAL,
                ).order_by('duplicates').last()
        duplicate = last_ev.duplicates + 1
        ev = models.Event.objects.create(build_user=self.user,
                head=base,
                base=base,
                cause=models.Event.MANUAL,
                duplicates=duplicate)
        ev.complete = False
        ev.update_branch_status = update_branch_status
        ev.description = '(forced scheduled)'
        ev.METHOD_NAME()
        logger.info("Created duplicate scheduled event #%s on %s for %s" % (duplicate, self.branch, self.user))
    else:
        logger.info("Scheduled event on %s for %s already exists: %s" % (self.branch, self.user, ev))
    self._process_recipes(ev, recipes)