mirror of
https://github.com/FlipsideCrypto/fsc-utils.git
synced 2026-02-06 10:56:49 +00:00
add ephemeral model materialization snippet to livequery readme
This commit is contained in:
parent
061e69ecdd
commit
f86395ef9e
14
README.md
14
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
|
||||
```
|
||||
|
||||
Loading…
Reference in New Issue
Block a user