/usr/share/phpmyadmin/templates/table/operations
Edit: /usr/share/phpmyadmin/templates/table/operations/index.twig (21629B)
{% if not hide_order_table %}
{% endif %}
{% if storage_engine in ['MYISAM', 'ARIA', 'INNODB', 'BERKELEYDB', 'TOKUDB'] %}
-
{% trans 'Analyze table' %}
{{ show_mysql_docu('ANALYZE_TABLE') }}
{% endif %}
{% if storage_engine in ['MYISAM', 'ARIA', 'INNODB', 'TOKUDB'] %}
-
{% trans 'Check table' %}
{{ show_mysql_docu('CHECK_TABLE') }}
{% endif %}
-
{% trans 'Checksum table' %}
{{ show_mysql_docu('CHECKSUM_TABLE') }}
{% if storage_engine == 'INNODB' %}
-
{% trans 'Defragment table' %}
{{ show_mysql_docu('InnoDB_File_Defragmenting') }}
{% endif %}
-
{% trans 'Flush the table (FLUSH)' %}
{{ show_mysql_docu('FLUSH') }}
{% if storage_engine in ['MYISAM', 'ARIA', 'INNODB', 'BERKELEYDB', 'TOKUDB'] %}
-
{% trans 'Optimize table' %}
{{ show_mysql_docu('OPTIMIZE_TABLE') }}
{% endif %}
{% if storage_engine in ['MYISAM', 'ARIA'] %}
-
{% trans 'Repair table' %}
{{ show_mysql_docu('REPAIR_TABLE') }}
{% endif %}
{% if not is_system_schema %}
{% if not is_view %}
-
{{ link_or_button(
url('/sql', url_params|merge({
'sql_query': 'TRUNCATE TABLE ' ~ backquote(table),
'goto': url('/table/structure'),
'reload': true,
'message_to_show': 'Table %s has been emptied.'|trans|format(table)|e
})),
'Empty the table (TRUNCATE)'|trans,
{
'id': 'truncate_tbl_anchor',
'class': 'text-danger ajax'
}
) }}
{{ show_mysql_docu('TRUNCATE_TABLE') }}
{% endif %}
-
{{ link_or_button(
url('/sql', url_params|merge({
'sql_query': 'DROP TABLE ' ~ backquote(table),
'goto': url('/database/operations'),
'reload': true,
'purge': true,
'message_to_show': is_view ? 'View %s has been dropped.'|trans|format(table)|e : 'Table %s has been dropped.'|trans|format(table)|e,
'table': table
})),
'Delete the table (DROP)'|trans,
{
'id': 'drop_tbl_anchor',
'class': 'text-danger ajax'
}
) }}
{{ show_mysql_docu('DROP_TABLE') }}
{% endif %}
{% if partitions is not empty %}
{% endif %}
{% if foreigners is not empty %}
{% endif %}