Naming Conventions

This library ships with the following default naming conventions. These can be overriden in the typical SQLAlchemy manner.

audit.table

dialect.DEFAULT_AUDIT_TABLE_NAMING_CONVENTION = '%(table_name)s_audit'

audit.function

dialect.DEFAULT_AUDIT_TABLE_FUNCTION_NAMING_CONVENTION = '%(schema)s_%(table_name)s_audit'

audit.trigger

dialect.DEFAULT_AUDIT_TABLE_TRIGGER_CONVENTION = '%(schema)s_%(table_name)s_audit'

The table_name and the schema are the only data elements passed in to the format string.

Additionally, if the schema is None, then “public” is passed in.