def METHOD_NAME(cls, values):
    """Create the database sequence for an instance of Sequence Model.
    :return: suitable field values for insertion of the Model instance
    :rtype: dict
    """
    seq_name = values.get("seq_name")
    number = values.setdefault("number", 0)
    if values.get("no_gap"):
        values.setdefault("seq_name", values.get("code", "no_gap_seq"))
    else:
        if seq_name is None:
            seq_id = cls.anyblok.scalar(SQLASequence(cls._cls_seq_name))
            seq_name = "%s_%d" % (cls.__tablename__, seq_id)
            values["seq_name"] = seq_name
        if number:
            seq = SQLASequence(seq_name, number)
        else:
            seq = SQLASequence(seq_name)
        seq.create(cls.anyblok.bind)
    return values