# Do we have a way to check model definitions against the actual models?

**URL:** <https://discourse.getdbt.com/t/do-we-have-a-way-to-check-model-definitions-against-the-actual-models/6922>\
**Category:** Help\
**Created:** [February 22, 2023, 3:30pm UTC](https://discourse.getdbt.com/t/do-we-have-a-way-to-check-model-definitions-against-the-actual-models/6922 "2023-02-22T15:30:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lomezno](https://avatars.discourse-cdn.com/v4/letter/l/fbc32d/32.png) [@Lomezno](https://discourse.getdbt.com/u/Lomezno)\
**Post date:** [February 22, 2023, 3:30pm UTC](https://discourse.getdbt.com/t/do-we-have-a-way-to-check-model-definitions-against-the-actual-models/6922/1 "2023-02-22T15:30:38Z")

</div>

Hello,

Well, as the title sais. I’m having a project with a lot of models which have yml definitions and it’s becoming painfull to keep them up to date as sometime I add a new column or remove it and forget to reflect that on the yml file, so I was wondering if there’s any comand I missed or tool which I can run to see that all the columns are referenced on the yml and there are no extras? As a side note, I’m using dbt-core.

---

<div class="post-metadata">

**Author:** ![a\_slack\_user](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.getdbt.com/a_slack_user/32/1629_2.png) [@a\_slack\_user](https://discourse.getdbt.com/u/a_slack_user)\
**Post date:** [February 22, 2023, 3:34pm UTC](https://discourse.getdbt.com/t/do-we-have-a-way-to-check-model-definitions-against-the-actual-models/6922/2 "2023-02-22T15:34:45Z")

</div>

You might be interested in dbt-checkpoint: [https://github.com/dbt-checkpoint/dbt-checkpoint](https://github.com/dbt-checkpoint/dbt-checkpoint)

Note: `@Owen` originally [posted this reply in Slack](https://getdbt.slack.com/archives/CBSQTAPLG/p1677080077997129?thread_ts=1677079861.682639&cid=CBSQTAPLG). It might not have transferred perfectly.
