From 91beb12d39b81a06aad3848f34aacea3848941af Mon Sep 17 00:00:00 2001 From: Simo Tumelius Date: Thu, 11 May 2023 01:35:15 +0300 Subject: [PATCH] Add seed documentation to lab 5 --- labs/lab5.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/labs/lab5.md b/labs/lab5.md index 8235ccc..dd359ff 100644 --- a/labs/lab5.md +++ b/labs/lab5.md @@ -105,9 +105,10 @@ The store mappings are as follows: 2,London 3,Tokyo ``` - (2) Execute `dbt seed` in the console at the bottom of your screen to make sure your seed uploads correctly. - (3) You can now reference that data as `{{ ref('stores') }}`. Add code in your `orders` model that adds a `store_name` column. - (4) Execute `dbt run -s orders` to make sure your updates run successfully. + (2) Add a `schema.yml` file in the `seeds/` directory and document your `stores` seed there (see [example](https://docs.getdbt.com/faqs/tests/testing-seeds#example)) + (3) Execute `dbt seed` in the console at the bottom of your screen to make sure your seed uploads correctly. + (4) You can now reference that data as `{{ ref('stores') }}`. Add code in your `orders` model that adds a `store_name` column. + (5) Execute `dbt run -s orders` to make sure your updates run successfully. ## Links and Walkthrough Guides