Configuration¶
Mara Configuration Values¶
The following configuration values are used by this module. They are defined as python functions in mara_db.config
and can be changed with the monkey patch from Mara App. An example can be found here.
- mara_db.config.databases() Dict[str, mara_db.dbs.DB] ¶
The list of database connections to use, by alias
- mara_db.config.default_timezone() str ¶
The default timezone to be used for database connections See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- mara_db.config.default_echo_queries() bool ¶
If queries should be printed on execution by default, if applicable
- mara_db.config.schema_ui_foreign_key_column_regex() Pattern ¶
A regex that classifies a table column as being used in a foreign constraint (for coloring missing constraints)