{{ table.name }}

{% if display_num_rows %}

{{ table.num_of_rows }} rows

{% endif %}
{% if comments %}

Description

{{ comments|safe }}
{% endif %}

Columns

{% for table_column in columns %} {{ table_column.get_key_icon()|safe }}{{ table_column.name }} {% endfor %}
Column Type Size Nulls Auto Default Children Parents Comments
{{ table_column.type_name }} {{ table_column.detailed_size }} {{ table_column.get_nullable() }} {{ table_column.get_auto_updated() }} {{ table_column.get_default_value() }} {% for constraint in table_column.get_children() %} {% endfor %}
{{ constraint.child_table.name }}.{{ table_column.name }} {{ constraint.name }}{{ constraint.get_delete_rule_alias() }}
{% for constraint in table_column.get_parents() %} {% endfor %}
{{ constraint.parent_table.name }}.{{ table_column.name }} {{ constraint.name }}{{ constraint.get_delete_rule_alias() }}
{{ table_column.comments|safe }}
{% if not indexes.isEmpty %}

Indexes

{% for index in indexes %} {{ index.get_key_icon()|safe }}{{ index.name }} {% endfor %}
Constraint Name Type Index Type Column(s)
{{ index.get_type() }} {{ index.get_index_type()|safe }} {{ index.columns_as_string() }}
{% endif %} {% if diagrams and diagrams.is_empty() and table.is_view() %}

Diagram producer might be missing

No diagrams were produced please see application output for any errors

{% endif %} {% if sql_code %}

View Definition

{% endif %}