From b563c317b6fbb37177311ded6889eec9a987d68e Mon Sep 17 00:00:00 2001 From: hollyfurniss-moj <158293140+hollyfurniss-moj@users.noreply.github.com> Date: Wed, 24 Jul 2024 17:27:51 +0100 Subject: [PATCH] Update style_guide --- .../documentation/tools/create-a-derived-table/style_guide | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/documentation/tools/create-a-derived-table/style_guide b/source/documentation/tools/create-a-derived-table/style_guide index 934c83f7..ed82180c 100644 --- a/source/documentation/tools/create-a-derived-table/style_guide +++ b/source/documentation/tools/create-a-derived-table/style_guide @@ -11,7 +11,7 @@ Style might seem like a trivial, surface-level issue, but it's an important aspe As a group of Analytics Engineers, we have thoroughly reviewed guidance published by dbt (the technology behind create-a-derived-table) and adapted it to suit our needs in this style guide. -Please take the time to familiarise yourself with this style guide, and our guidance on project structure [add link], before starting projects in create-a-derived-table. +Please take the time to familiarise yourself with this style guide before starting projects in create-a-derived-table. ## What's important about style? @@ -29,8 +29,8 @@ Once you've established a clear style, stay consistent. This is the most importa ## Fields and model names ### Essential styling -- 🔑 Each model should have a primary key and that primary key should be the first field in the table. -- 🔑 The primary key of a model should be named `_id`, for example, `account_id`. This makes it easier to know what `id` is being referenced in downstream joined models. +-🔑 Each model should have a primary key and that primary key should be the first field in the table. +-🔑 The primary key of a model should be named `_id`, for example, `account_id`. This makes it easier to know what `id` is being referenced in downstream joined models. - Use underscores for naming dbt models; avoid dots or camel case. - ✅ `models_without_dots` - ❌ `models.with.dots`