{% load i18n sqlpreview %}{% comment %}Catalog objects. Subtabs (Databases | Schemas | Roles) keep each a clean read-only table; create/rename/alter/restore happen in the shared right drawer, drops behind an hx-confirm. `drawer` holds the open form's kind; `ctx` carries the row being acted on. Submits target #detail, so the whole panel (drawer included) re-renders and resets.{% endcomment %}
\l databases · \dn schemas · \du roles
{% trans "This engine has no schemas separate from databases — see the Databases tab." %}
{% elif schemas %}| {% trans "Name" %} | {% trans "Owner" %} | |
|---|---|---|
| {{ s.name }} | {{ s.owner }} |
|
{% trans "No user schemas yet — create one above." %}
{% endif %}| {% trans "Role" %} | {% trans "Attributes" %} | |
|---|---|---|
| {{ r.name }}{% if not r.can_login %} {% trans "(group)" %}{% endif %} | {% for a in r.attributes %} {{ a }} {% empty %}—{% endfor %} |
|