Skip to content

Commit 77f5f79

Browse files
authored
add show create table link (#19812)
Fixes #19745 * add show create table link Signed-off-by: Zjmainstay <hzgdys@163.com> --------- Signed-off-by: Zjmainstay <hzgdys@163.com>
1 parent 1262189 commit 77f5f79

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

resources/templates/table/structure/display_structure.twig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,14 @@
408408
<a href="{{ url('/normalization', {'db': db, 'table': table}) }}">
409409
{{ get_icon('normalize', t('Normalize'), true) }}
410410
</a>
411+
<a href="{{ url('/database/structure/show-create') }}" data-post="{{ get_common({
412+
'db': db,
413+
'selected_tbl[]': table,
414+
'sql_query': '',
415+
'session_max_rows': 'all'
416+
}, '', false) }}">
417+
{{ get_icon('b_sql', t('Show create'), true) }}
418+
</a>
411419
{% endif %}
412420
{% if tbl_is_view and not db_is_system_schema %}
413421
{% if is_active %}

0 commit comments

Comments
 (0)