- WIP on Alter table

This commit is contained in:
mcndave committed 2023-03-30 15:25:27 +00:00
1 parent f9229b890d
commit 963598764a
3 files changed
+46 -23

No files matched your search

@@ -65,7 +65,7 @@
{% php $alter[] = $entity %}
<div class="text-right">
<button name="create" value="{{$entity}}" class="btn-blue">🗸 {% _ 'database.table.alter' %}</button>
<button name="alter" value="{{$entity}}" class="btn-blue">🗸 {% _ 'database.table.alter' %}</button>
</div>
{% break %}
{% endswitch %}
@@ -78,6 +78,12 @@
<button name="createAll" value="{{ implode(',', $createAll) }}" class="btn-red">🗸 {% _ 'database.table.createAll' %}</button>
</div>
{% endif %}
{% if ($alterAll ?? 0) > 1 %}
<div class="text-right" style="padding:0.5rem 0">
<button name="createAll" value="{{ implode(',', $alterAll) }}" class="btn-red">🗸 {% _ 'database.table.alterAll' %}</button>
</div>
{% endif %}
{% ui.endform %}
</div>
</article>