friendica/view/templates/structure.tpl

32 lines
812 B
Smarty
Raw Permalink Normal View History

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