Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

YAML syntax for specifying default auditing for all tables in a schema #65

Open
rhunwicks opened this Issue Oct 23, 2013 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

rhunwicks commented Oct 23, 2013

Ideally, I'd like to be able to specify auditing at the schema level, i.e. for all tables in the schema, rather than have to specify it for each table individually - it doesn't seem very DRY to create the table definition in my schema.yaml and then have to immediately add it to my augment.yaml

Something like:

schema app_schema:
  audit_columns: default
schema other_schema:
  table some_random_table:
    audit_columns: created_date_only

It would also be good to allow overrides to the schema-level default auditing:

schema app_schema:
  audit_columns: modified_only
  table some_important_table:
    audit_columns: full

@jmafc jmafc added this to the Release 0.9 milestone Oct 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment