---
title: "Comment by Arshad Iqbal on \"Docs first, then code: how Watcher features avoid silent drift\" | Hashnode"
description: "On the Laravel apps I ship, the silent drift shows up as a migration that does not match the doc the next person reads. I would fail the check if the schema not"
url: "https://hashnode.com/posts/docs-first-then-code-watcher-features-avoid-silent-drift/6b0f90bf80b326966550c10a/comment/6b1015bb1552df4ee98dfd92"
---

[Discussion](https://hashnode.com/posts/docs-first-then-code-watcher-features-avoid-silent-drift/6b0f90bf80b326966550c10a)

Comment [Docs first, then code: how Watcher features avoid silent drift](https://hashnode.com/posts/docs-first-then-code-watcher-features-avoid-silent-drift/6b0f90bf80b326966550c10a)

[Arshad Iqbal](https://hashnode.com/@arshadiqbal)

[1d ago](https://hashnode.com/posts/docs-first-then-code-watcher-features-avoid-silent-drift/6b0f90bf80b326966550c10a/comment/6b1015bb1552df4ee98dfd92)

On the Laravel apps I ship, the silent drift shows up as a migration that does not match the doc the next person reads. I would fail the check if the schema notes and the migration disagree, before the PR is opened.

[Apogee Watcher](https://hashnode.com/@apogeewatcher)

[1d ago](https://hashnode.com/posts/docs-first-then-code-watcher-features-avoid-silent-drift/6b0f90bf80b326966550c10a/comment/6b1015bb1552df4ee98dfd92#reply-6b1071567d6c52154fe910b0)

That's exactly the mismatch we see most. A check that compares the schema notes with the migration before the PR opens would catch it earlier than review does. For now we treat the schema note as part of the constraint list, so a reviewer who sees a migration with no matching note sends it back.
