- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경 - DB 연결 하드코딩 → .env 기반으로 변경 - MySQL strict mode DATE 오류 수정
48 lines
1.2 KiB
Twig
48 lines
1.2 KiB
Twig
<div class="show_create_results">
|
|
<h2>{% trans 'Showing create queries' %}</h2>
|
|
|
|
{% if tables.tables is not empty %}
|
|
<fieldset>
|
|
<legend>{% trans 'Tables' %}</legend>
|
|
<table class="pma-table show_create">
|
|
<thead>
|
|
<tr>
|
|
<th>{% trans 'Table' %}</th>
|
|
<th>{% trans 'Create table' %}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for table in tables.tables %}
|
|
<tr>
|
|
<td><strong>{{ table.name }}</strong></td>
|
|
<td>{{ table.show_create|raw }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</fieldset>
|
|
{% endif %}
|
|
|
|
{% if tables.views is not empty %}
|
|
<fieldset>
|
|
<legend>{% trans 'Views' %}</legend>
|
|
<table class="pma-table show_create">
|
|
<thead>
|
|
<tr>
|
|
<th>{% trans 'View' %}</th>
|
|
<th>{% trans 'Create view' %}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for view in tables.views %}
|
|
<tr>
|
|
<td><strong>{{ view.name }}</strong></td>
|
|
<td>{{ view.show_create|raw }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</fieldset>
|
|
{% endif %}
|
|
</div>
|