← Your first PRlesson 6 of 9
Next to your .sql goes a .yml file with the same name. It does three jobs: names an owner, documents the columns, and declares tests — assertions checked on every build, forever. CI requires it; more importantly, it is where your knowledge of the data gets written down.
Write it by hand — it is short, and writing it is how you make the decisions it contains. Tap the numbers to see what each part is for:
models:
- name: stg_reference_opening_hoursstep 1 of 3