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>
This commit is contained in:
Zjmainstay 2025-08-28 22:40:15 +08:00 committed by GitHub
parent 1262189e5c
commit 77f5f7922b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -408,6 +408,14 @@
<a href="{{ url('/normalization', {'db': db, 'table': table}) }}">
{{ get_icon('normalize', t('Normalize'), true) }}
</a>
<a href="{{ url('/database/structure/show-create') }}" data-post="{{ get_common({
'db': db,
'selected_tbl[]': table,
'sql_query': '',
'session_max_rows': 'all'
}, '', false) }}">
{{ get_icon('b_sql', t('Show create'), true) }}
</a>
{% endif %}
{% if tbl_is_view and not db_is_system_schema %}
{% if is_active %}