# collab: Add \`subscription_usages\` table \(\#28818\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 60624d81ba177af1f80b1822678ea1c727258139

Requested commit: 60624d81ba177af1f80b1822678ea1c727258139

Commit: 60624d81ba177af1f80b1822678ea1c727258139

Tree: f6671e708f2b4e83125561edc6e609308a979c98

Author: Marshall Bowers

Committer: GitHub

## Message

```
collab: Add `subscription_usages` table (#28818)

This PR adds a new `subscription_usages` table to the LLM database.

We'll use this table to track usage by subscribers.

Records will be looked up using `(user_id, period_start_at,
period_end_at)` to find the record for a user's current subscription
period.

Release Notes:

- N/A
```

## Parents

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

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