# collab: Add \`has_overdue_invoices\` to \`billing_customers\` \(\#24239\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/aa3da35e8ec8e166a0453ce09650addf660e5c03)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: aa3da35e8ec8e166a0453ce09650addf660e5c03

Requested commit: aa3da35e8ec8e166a0453ce09650addf660e5c03

Commit: aa3da35e8ec8e166a0453ce09650addf660e5c03

Tree: 7c22ab0ca1137b7fb64d9fab4e3bc6103c1093fc

Author: Marshall Bowers

Committer: GitHub

## Message

```
collab: Add `has_overdue_invoices` to `billing_customers` (#24239)

This PR adds a new `has_overdue_invoices` field to the
`billing_customers` table.

This will be used to statefully track whether a customer has overdue
invoices, and also to reset it when the invoices are paid.

We will set this field to `true` when a subscription is canceled with
the reason `payment_failed`.

Release Notes:

- N/A
```

## Parents

- [b13498a5dd279a2eeb92a42b0ad996e85094e0c0](https://git.cafe/gitcafe/zed/commit/b13498a5dd279a2eeb92a42b0ad996e85094e0c0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/aa3da35e8ec8e166a0453ce09650addf660e5c03?format=markdown)
