def METHOD_NAME(cls):
    secondary_tbl = sa.Table(
        "account_integers",
        db.Model.metadata,
        Column("integer_id", ForeignKey(IntegerCollection.id)),
        Column("account_id", ForeignKey(cls.id)),
        sa.schema.UniqueConstraint("account_id", "integer_id"),
    )
    return sa.orm.relationship(IntegerCollection, secondary=secondary_tbl)