Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

Example dbt project with SQLite.

Notifications You must be signed in to change notification settings

edgarrmondragon/dbt-sqlite-example

Repository files navigation

dbt and SQLite

Lint dbt models Test data

Example dbt project with SQLite.

Dependencies

Execution

Set up profile

Add the following lines to you ~/.dbt/profiles.yml:

dbt_sqlite:
  target: dev
  outputs:
    dev:
      type: sqlite
      threads: 1
      database: database
      schema: main
      schemas_and_paths:
        main: "{{ env_var('PWD') }}/dbs/etl.db"
      schema_directory: "{{ env_var('PWD') }}/dbs"

Run models

make run

Documentation

make lineage

Lint with SQLFluff

make lint

About

Example dbt project with SQLite.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published