From f86395ef9ee6eb8dcd20ad9ab815f6897f67e4ba Mon Sep 17 00:00:00 2001 From: shah Date: Tue, 19 Mar 2024 14:05:53 -0700 Subject: [PATCH] add ephemeral model materialization snippet to livequery readme --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 6bb26c1..988fb9f 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,21 @@ LiveQuery is now available to be deployed into individual projects. For base fun ### Basic Setup ### 1. Make sure `fsc-utils` package referenced in the project is version `v1.8.0` or greater. Re-run `dbt deps` if revision was changed. + + ** NOTE: `livequery_models deploy core` uses ephemeral models, therefore it is recommended to specify the materialization for `livequery_models` in your project's `dbt_project.yml` to `ephemeral` to avoid any conflicts.** + + ```yml + # dbt_project.yml + ... + models: + livequery_models: + deploy: + core: + materialized: ephemeral + ... + ``` 2. Deploy the core LiveQuery functions by schema or tag + By Schema ```