k1LoW / tbls

tbls is a CI-Friendly tool for document a database, written in Go.
MIT License
3.4k stars 166 forks source link

Unable to filter schemas using include/exclude for PostgreSQL DB #389

Closed Bare7aOVO closed 1 year ago

Bare7aOVO commented 1 year ago

What happened

tbls is always generating all of the tables in all schemas instead of the ones for the specified in the include/exclude filters provided at the end of the ticket

What you expected to happened

I expect tbls to generate only the lint and er for the public schema, excluding all of the tables from the products schema

Environment

Tried with:

include:
  - public
include:
  - public.
include:
  - public.*
include:
  - public.*
exclude:
  - products.*
include:
  - public.*
exclude:
  - products.
include:
  - public.
exclude:
  - products.*
include:
  - public
exclude:
  - products
include:
  - public.*
exclude:
  - products
include:
  - public
exclude:
  - products.*
Bare7aOVO commented 1 year ago

Scratch that, I wasn't loading the tbls.yml file properly