.. |br| raw:: html
.. _schemameta: SchemaMeta ========== Is a way to modify input that will affect output from SchemaSpy. * :ref:`schemameta-comment` * :ref:`schemameta-add-foreignKey` * :ref:`schemameta-add-remote-tables` * :ref:`schemameta-add-columns` * :ref:`schemameta-disableImpliedKeys` * :ref:`schemameta-disableDiagramAssociations` All these instructions are defined in xml the schema can be found |xsd_link| Schema contains documentation but lets go through the above mentioned features. .. _schemameta-comment: Add comments/remarks -------------------- The xsd currently allows both comments and remarks. However remarks has been deprecated. So adding a comment will either add, if missing from database, or replace if comments/remarks exist. Supports markdown, example see :ref:`usage_advanced_markdown_metadata` .. code-block:: xml :linenos: :emphasize-lines: 2,4,5 Database comment
.. _schemameta-add-foreignKey: Add relationships ----------------- .. code-block:: xml :linenos: :emphasize-lines: 5,8
.. _schemameta-add-remote-tables: Add remote tables ----------------- Specifying the remoteCatalog and remoteSchema attributes on a table makes it a remote table and as such a logical table. .. code-block:: xml :linenos: :emphasize-lines: 3
.. _schemameta-add-columns: Add columns ----------- .. code-block:: xml :linenos: :emphasize-lines: 4
.. _schemameta-disableImpliedKeys: Exclude columns from implied relationships ------------------------------------------ Explicitly disables relationships to or from this column that may be implied by the column's name, type and size. Available options: to, from, all, none |br| Default: none .. code-block:: xml :linenos: :emphasize-lines: 4
.. _schemameta-disableDiagramAssociations: Exclude columns from diagrams ----------------------------- Sometimes the associations displayed on a relationships diagram cause the diagram to become much more cluttered than it needs to be. Enable this setting to not show the relationships between this column and other columns. Use exceptDirect to disable associations on all diagrams except for the diagrams of tables directly (within one degree of separation) connected to this column. Available options: all, exceptDirect, none |br| Defaults: none .. code-block:: xml :linenos: :emphasize-lines: 4
.. |xsd_link| raw:: html here