Seed properties
Seed properties can be declared in .yml
files under a seed
key.
We recommend that you put them in the seeds/
directory. You can name these files whatever_you_want.yml
, and nest them arbitrarily deeply in subfolders within that directory.
seeds/<filename>.yml
version: 2
seeds:
- name: <string>
description: <markdown_string>
docs:
show: true | false
node_color: <color_id> # Use name (such as node_color: purple) or hex code with quotes (such as node_color: "#cd7f32")
config:
<seed_config>: <config_value>
tests:
- <test>
- ... # declare additional tests
columns:
- name: <column name>
description: <markdown_string>
meta: {<dictionary>}
quote: true | false
tags: [<string>]
tests:
- <test>
- ... # declare additional tests
- name: ... # declare properties of additional columns
- name: ... # declare properties of additional seeds
0