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