<?xml version="1.0" encoding="utf-8"?>
<form>
  <fields name="db">
    <fieldset>
      <field
        name="db_type"
        type="databaseconnection"
        id="db_type"
        class="inputbox"
        label="COM_JOOMGALLERY_MIGMAN_FIELD_TYPE_LABEL"
        description="COM_JOOMGALLERY_MIGMAN_FIELD_TYPE_DESC"
        supported="mysql,mysqli,postgresql,sqlsrv,sqlazure"
        default="mysqli"
        filter="string"
      />
      <field
        name="db_host"
        type="text"
        id="db_host"
        class="inputbox"
        label="COM_JOOMGALLERY_MIGMAN_FIELD_HOST_LABEL"
        description="COM_JOOMGALLERY_MIGMAN_FIELD_HOST_DESC"
        default="localhost"
      />
      <field
        name="db_user"
        type="text"
        id="db_user"
        class="inputbox"
        label="COM_JOOMGALLERY_MIGMAN_FIELD_USER_LABEL"
        description="COM_JOOMGALLERY_MIGMAN_FIELD_USER_DESC"
      />
      <field
        name="db_pass"
        type="password"
        id="db_pass"
        class="inputbox"
        label="COM_JOOMGALLERY_MIGMAN_FIELD_PASSWORD_LABEL"
        description="COM_JOOMGALLERY_MIGMAN_FIELD_PASSWORD_DESC"
        filter="raw"
      />
      <field
        name="db_name"
        type="text"
        id="db_name"
        class="inputbox"
        label="COM_JOOMGALLERY_MIGMAN_FIELD_NAME_LABEL"
        description="COM_JOOMGALLERY_MIGMAN_FIELD_NAME_DESC"
      />
      <field
        name="prefix"
        type="prefix"
        id="db_prefix"
        class="inputbox"
        label="COM_JOOMGALLERY_MIGMAN_FIELD_PREFIX_LABEL"
        description="COM_JOOMGALLERY_MIGMAN_FIELD_PREFIX_DESC"
        validate="prefix"
      />
      <field
        name="enabled"
        type="hidden"
        id="db_enabled"
      />
    </fieldset>
  </fields>
</form>