mirror of
https://github.com/friendica/friendica
synced 2024-11-18 04:23:41 +00:00
31 lines
677 B
Smarty
31 lines
677 B
Smarty
Table {{$name}}
|
|
===========
|
|
|
|
{{$comment}}
|
|
|
|
Fields
|
|
------
|
|
|
|
{{foreach $fields as $field}}
|
|
| {{$field.name}} | {{$field.comment}} | {{$field.type}} | {{$field.null}} | {{$field.primary}} | {{$field.default}} | {{$field.extra}} |
|
|
{{/foreach}}
|
|
|
|
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}}
|
|
|
|
Return to [database documentation](help/database)
|