2021-06-13 22:33:50 +02:00
|
|
|
Table {{$name}}
|
|
|
|
===========
|
2021-06-14 08:10:11 +02:00
|
|
|
|
2021-06-13 22:33:50 +02:00
|
|
|
{{$comment}}
|
|
|
|
|
2021-06-14 10:53:37 +02:00
|
|
|
Fields
|
|
|
|
------
|
|
|
|
|
2021-06-13 22:33:50 +02:00
|
|
|
{{foreach $fields as $field}}
|
2021-06-14 08:10:11 +02:00
|
|
|
| {{$field.name}} | {{$field.comment}} | {{$field.type}} | {{$field.null}} | {{$field.primary}} | {{$field.default}} | {{$field.extra}} |
|
2021-06-13 22:33:50 +02:00
|
|
|
{{/foreach}}
|
|
|
|
|
2021-06-14 10:53:37 +02:00
|
|
|
Indexes
|
|
|
|
------------
|
|
|
|
|
|
|
|
{{foreach $indexes as $index}}
|
|
|
|
| {{$index.name}} | {{$index.fields}} |
|
|
|
|
{{/foreach}}
|
|
|
|
|
|
|
|
{{if $foreign}}
|
|
|
|
Foreign Keys
|
|
|
|
------------
|
|
|
|
|
|
|
|
| Field | Target Table | Target Field |
|
|
|
|
|-------|--------------|--------------|
|
|
|
|
{{foreach $foreign as $key}}
|
|
|
|
| {{$key.field}} | [{{$key.targettable}}](help/database/db_{{$key.targettable}}) | {{$key.targetfield}} |
|
|
|
|
{{/foreach}}
|
|
|
|
{{/if}}
|
|
|
|
|
2021-06-13 22:33:50 +02:00
|
|
|
Return to [database documentation](help/database)
|