# danger: Require attestation that database schema migrations have been applied \(\#58469\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7e42c0bb1a239eddd7447acaa06db50f5ac9abfa

Requested commit: 7e42c0bb1a239eddd7447acaa06db50f5ac9abfa

Commit: 7e42c0bb1a239eddd7447acaa06db50f5ac9abfa

Tree: eeec7b3b61aeb9b6dc622d5c3fe8a7f66ad08d7b

Author: Marshall Bowers

Committer: GitHub

## Message

```
danger: Require attestation that database schema migrations have been applied (#58469)

This PR updates the Danger check for touching the Collab schema files to
require attestation that the database schema migrations have been
created and applied.

If there are changes to the schema files without the attestation, Danger
will fail the status check with an error:

<img width="959" height="635" alt="Screenshot 2026-06-03 at 4 58 56 PM"
src="https://github.com/user-attachments/assets/e0857137-b351-4212-a023-13a7d53f5934"
/>

When the attestation clause is present, Danger will report it as such:

<img width="901" height="333" alt="Screenshot 2026-06-03 at 4 59 45 PM"
src="https://github.com/user-attachments/assets/098b0ce4-f86e-4d41-b6af-765bc015fe6e"
/>

Release Notes:

- N/A
```

## Parents

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

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