Skip to main content

seed-paths

β–ΆChangelog
dbt_project.yml
seed-paths: [directorypath]

Definition​

Optionally specify a custom list of directories where seed files are located.

Default​

By default, dbt expects analyses to be located in the seeds directory, i.e. seed-paths: ["seeds"]

Examples​

Use a subdirectory named custom_seeds instead of seeds​

dbt_project.yml
seed-paths: ["custom_seeds"]

Co-locate your models and seeds in the models directory​

Note: this works because dbt is looking for different file types for seeds (.csv files) and models (.sql files).

dbt_project.yml
seed-paths: ["models"]
model-paths: ["models"]

Split your seeds across two directories​

Note: We recommend that you instead use two subdirectories within the seeds/ directory to achieve a similar effect.

dbt_project.yml
seed-paths: ["seeds", "custom_seeds"]