<?xml version="1.0" encoding="UTF-8"?><database name="reportdb" schema="public" type="PostgreSQL - 16.9">
   <tables>
      <table name="account" remarks="The list of the user authorized to access a SUSE Multi-Linux Manager instance" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <child column="mgm_id" foreignKey="accountgroup_account_fkey" implied="false" onDeleteCascade="false" schema="public" table="accountgroup"/>
            <child column="mgm_id" foreignKey="systemgrouppermission_user_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemgrouppermission"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_id" nullable="false" remarks="The id of the user account" size="0" type="numeric" typeCode="2">
            <child column="account_id" foreignKey="accountgroup_account_fkey" implied="false" onDeleteCascade="false" schema="public" table="accountgroup"/>
            <child column="account_id" foreignKey="systemgrouppermission_user_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemgrouppermission"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="username" nullable="true" remarks="The username used to login" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="last_name" nullable="true" remarks="The person last name(s)" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="first_name" nullable="true" remarks="The person first name(s)" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="position" nullable="true" remarks="The descriptive role of this user within the organization" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="email" nullable="true" remarks="The email address associated with this account" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="creation_time" nullable="true" remarks="When this user account was created" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="last_login_time" nullable="true" remarks="When this user account logged in for the last time" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="status" nullable="true" remarks="Current status of the user. Possible values: enabled, disabled" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="md5_encryption" nullable="true" remarks="True if md5 encryption is used to encode the user password." size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="12" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="account_id" sequenceNumberInPK="2"/>
         <index name="account_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="account_id"/>
         </index>
         <checkConstraint constraint="(((email)::text &lt;&gt; ''::text))" name="vn_account_email"/>
         <checkConstraint constraint="(((first_name)::text &lt;&gt; ''::text))" name="vn_account_first_name"/>
         <checkConstraint constraint="(((last_name)::text &lt;&gt; ''::text))" name="vn_account_last_name"/>
         <checkConstraint constraint="(((organization)::text &lt;&gt; ''::text))" name="vn_account_organization"/>
         <checkConstraint constraint="(((&quot;position&quot;)::text &lt;&gt; ''::text))" name="vn_account_position"/>
         <checkConstraint constraint="(((status)::text &lt;&gt; ''::text))" name="vn_account_status"/>
         <checkConstraint constraint="(((username)::text &lt;&gt; ''::text))" name="vn_account_username"/>
      </table>
      <table name="accountgroup" remarks="The list of groups a user is a member of" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="accountgroup_account_fkey" implied="false" onDeleteCascade="false" schema="public" table="account"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_id" nullable="false" remarks="The id of the user account" size="0" type="numeric" typeCode="2">
            <parent column="account_id" foreignKey="accountgroup_account_fkey" implied="false" onDeleteCascade="false" schema="public" table="account"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="account_group_id" nullable="false" remarks="The id of the user group this account belongs to" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="username" nullable="true" remarks="The username used to login" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="account_group_name" nullable="true" remarks="The name of this user group" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="account_group_type_id" nullable="true" remarks="The identifier of the group type" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="account_group_type_name" nullable="true" remarks="The descriptive name of the group type" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="account_group_type_label" nullable="true" remarks="The unique label of the group type" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="8" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="account_id" sequenceNumberInPK="2"/>
         <primaryKey column="account_group_id" sequenceNumberInPK="3"/>
         <index name="accountgroup_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="account_id"/>
            <column ascending="true" name="account_group_id"/>
         </index>
         <checkConstraint constraint="(((account_group_name)::text &lt;&gt; ''::text))" name="vn_accountgroup_account_group_name"/>
         <checkConstraint constraint="(((account_group_type_label)::text &lt;&gt; ''::text))" name="vn_accountgroup_account_group_type_label"/>
         <checkConstraint constraint="(((account_group_type_name)::text &lt;&gt; ''::text))" name="vn_accountgroup_account_group_type_name"/>
         <checkConstraint constraint="(((username)::text &lt;&gt; ''::text))" name="vn_accountgroup_username"/>
      </table>
      <table name="accountsreport" numRows="0" remarks="List of all users for all organizations, with their details and roles." schema="public" type="VIEW" viewSql=" SELECT account.mgm_id,&#10;    account.organization,&#10;    account.account_id,&#10;    account.username,&#10;    account.last_name,&#10;    account.first_name,&#10;    account.&quot;position&quot;,&#10;    account.email,&#10;    string_agg((accountgroup.account_group_type_name)::text, ';'::text) AS roles,&#10;    account.creation_time,&#10;    account.last_login_time,&#10;    account.status,&#10;    account.md5_encryption,&#10;    account.synced_date&#10;   FROM (account&#10;     LEFT JOIN accountgroup ON (((account.mgm_id = accountgroup.mgm_id) AND (account.account_id = accountgroup.account_id))))&#10;  GROUP BY account.mgm_id, account.organization, account.account_id, account.username, account.last_name, account.first_name, account.&quot;position&quot;, account.email, account.creation_time, account.last_login_time, account.status, account.md5_encryption, account.synced_date&#10;  ORDER BY account.mgm_id, account.organization, account.account_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="account_id" nullable="true" remarks="The id of the user account" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="username" nullable="true" remarks="The username used to login" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="last_name" nullable="true" remarks="The person last name(s)" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="first_name" nullable="true" remarks="The person first name(s)" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="position" nullable="true" remarks="The descriptive role of this user within the organization" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="email" nullable="true" remarks="The email address associated with this account" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="roles" nullable="true" remarks="List of roles assigned to the user, separated by ;" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="creation_time" nullable="true" remarks="When this user account was created" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="10" name="last_login_time" nullable="true" remarks="When this user account logged in for the last time" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="status" nullable="true" remarks="Current status of the user. Possible values: enabled, disabled" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="md5_encryption" nullable="true" remarks="True if md5 encryption is used to encode the user password." size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="13" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="accountssystemsreport" numRows="0" remarks="Systems administered by individual users" schema="public" type="VIEW" viewSql=" WITH org_admins AS (&#10;         SELECT accountgroup.mgm_id,&#10;            accountgroup.account_id&#10;           FROM accountgroup&#10;          WHERE ((accountgroup.account_group_type_label)::text = 'org_admin'::text)&#10;        ), system_users AS (&#10;         SELECT true AS is_admin,&#10;            account.mgm_id,&#10;            account.account_id,&#10;            system.system_id,&#10;            NULL::character varying AS group_name&#10;           FROM (system&#10;             JOIN account ON (((system.mgm_id = account.mgm_id) AND ((system.organization)::text = (account.organization)::text))))&#10;        UNION&#10;         SELECT false AS is_admin,&#10;            systemgrouppermission.mgm_id,&#10;            systemgrouppermission.account_id,&#10;            systemgroupmember.system_id,&#10;            systemgrouppermission.group_name&#10;           FROM (systemgrouppermission&#10;             JOIN systemgroupmember ON (((systemgrouppermission.mgm_id = systemgroupmember.mgm_id) AND (systemgrouppermission.system_group_id = systemgroupmember.system_group_id))))&#10;        ), users_details AS (&#10;         SELECT account.mgm_id,&#10;            account.account_id,&#10;            account.username,&#10;            account.organization,&#10;            (org_admins.account_id IS NOT NULL) AS is_admin,&#10;            account.synced_date&#10;           FROM (account&#10;             LEFT JOIN org_admins ON (((account.mgm_id = org_admins.mgm_id) AND (account.account_id = org_admins.account_id))))&#10;        )&#10; SELECT users_details.mgm_id,&#10;    users_details.account_id,&#10;    users_details.username,&#10;    users_details.organization,&#10;    system_users.system_id,&#10;    system_users.group_name,&#10;    users_details.is_admin,&#10;    users_details.synced_date&#10;   FROM (users_details&#10;     LEFT JOIN system_users ON (((users_details.mgm_id = system_users.mgm_id) AND (users_details.is_admin = system_users.is_admin) AND (users_details.account_id = system_users.account_id))))&#10;  WHERE (system_users.system_id IS NOT NULL)&#10;  ORDER BY users_details.mgm_id, users_details.account_id, system_users.system_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="account_id" nullable="true" remarks="The id of the user account" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="username" nullable="true" remarks="The username used to login" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="group_name" nullable="true" remarks="The name of the group the user belongs to that grants access to the system" size="2147483647" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="is_admin" nullable="true" remarks="true, if the user has administrative role" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="actionsreport" numRows="0" remarks="List of all actions performed on all systems" schema="public" type="VIEW" viewSql=" SELECT DISTINCT mgm_id,&#10;    action_id,&#10;    earliest_action,&#10;    event,&#10;    action_name,&#10;    scheduler_id,&#10;    scheduler_username,&#10;    string_agg((hostname)::text, ';'::text) FILTER (WHERE (((status)::text = 'Picked Up'::text) OR ((status)::text = 'Queued'::text))) OVER (PARTITION BY action_id) AS in_progress_systems,&#10;    string_agg((hostname)::text, ';'::text) FILTER (WHERE ((status)::text = 'Completed'::text)) OVER (PARTITION BY action_id) AS completed_systems,&#10;    string_agg((hostname)::text, ';'::text) FILTER (WHERE ((status)::text = 'Failed'::text)) OVER (PARTITION BY action_id) AS failed_systems,&#10;    archived,&#10;    synced_date&#10;   FROM systemaction&#10;  ORDER BY mgm_id, action_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="action_id" nullable="true" remarks="The id of the action" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="2" name="earliest_action" nullable="true" remarks="The earliest time the action was schedule for execution" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="event" nullable="true" remarks="The type of event triggered by the action" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="action_name" nullable="true" remarks="The name of the action" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="scheduler_id" nullable="true" remarks="The id of the account who scheduled the action" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="scheduler_username" nullable="true" remarks="The username of the account who scheduled the action" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="in_progress_systems" nullable="true" remarks="Number of system where the action is still in progress" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="completed_systems" nullable="true" remarks="Number of system where the action is completed" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="failed_systems" nullable="true" remarks="Number of system where the action is failed" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="archived" nullable="true" remarks="True if the action is archived" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="11" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="channel" remarks="The list of channel managed by a SUSE Multi-Linux Manager instance" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <child column="mgm_id" foreignKey="channelerrata_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channelerrata"/>
            <child column="mgm_id" foreignKey="channelpackage_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channelpackage"/>
            <child column="mgm_id" foreignKey="channelrepository_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channelrepository"/>
            <child column="mgm_id" foreignKey="systemchannel_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemchannel"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="channel_id" nullable="false" remarks="The id of the channel" size="0" type="numeric" typeCode="2">
            <child column="channel_id" foreignKey="channelerrata_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channelerrata"/>
            <child column="channel_id" foreignKey="channelpackage_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channelpackage"/>
            <child column="channel_id" foreignKey="channelrepository_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channelrepository"/>
            <child column="channel_id" foreignKey="systemchannel_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemchannel"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="true" remarks="The unique name of this channel" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="label" nullable="true" remarks="The unique label identifying this channel" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="type" nullable="true" remarks="The type of channel. Possible values: Vendor if installed through the Product wizard, Custom if manually configured" size="50" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="arch" nullable="true" remarks="The architecture of the packages hold by this channel" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="checksum_type" nullable="true" remarks="The type of checksum used by this channel" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="summary" nullable="true" remarks="A brief summary of this channel" size="500" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="description" nullable="true" remarks="A detailed description of the channel scope and purpose" size="4000" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="parent_channel_label" nullable="true" remarks="The label of the parent of this channel, if exists" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="original_channel_id" nullable="true" remarks="If the channel is a clone, the id of the original channel" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="12" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="channel_id" sequenceNumberInPK="2"/>
         <index name="channel_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="channel_id"/>
         </index>
         <checkConstraint constraint="(((arch)::text &lt;&gt; ''::text))" name="vn_channel_arch"/>
         <checkConstraint constraint="(((checksum_type)::text &lt;&gt; ''::text))" name="vn_channel_checksum_type"/>
         <checkConstraint constraint="(((description)::text &lt;&gt; ''::text))" name="vn_channel_description"/>
         <checkConstraint constraint="(((label)::text &lt;&gt; ''::text))" name="vn_channel_label"/>
         <checkConstraint constraint="(((name)::text &lt;&gt; ''::text))" name="vn_channel_name"/>
         <checkConstraint constraint="(((organization)::text &lt;&gt; ''::text))" name="vn_channel_organization"/>
         <checkConstraint constraint="(((parent_channel_label)::text &lt;&gt; ''::text))" name="vn_channel_parent_channel_label"/>
         <checkConstraint constraint="(((summary)::text &lt;&gt; ''::text))" name="vn_channel_summary"/>
         <checkConstraint constraint="(((type)::text &lt;&gt; ''::text))" name="vn_channel_type"/>
      </table>
      <table name="channelerrata" remarks="The list of patches distributed by a channel" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="channelerrata_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channel"/>
            <parent column="mgm_id" foreignKey="channelerrata_errata_fkey" implied="false" onDeleteCascade="false" schema="public" table="errata"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="channel_id" nullable="false" remarks="The id of the channel" size="0" type="numeric" typeCode="2">
            <parent column="channel_id" foreignKey="channelerrata_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channel"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="errata_id" nullable="false" remarks="The id of the patch" size="0" type="numeric" typeCode="2">
            <parent column="errata_id" foreignKey="channelerrata_errata_fkey" implied="false" onDeleteCascade="false" schema="public" table="errata"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="channel_label" nullable="true" remarks="The label of the channel containing this patch" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="advisory_name" nullable="true" remarks="The advisory name of this patch" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="5" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="channel_id" sequenceNumberInPK="2"/>
         <primaryKey column="errata_id" sequenceNumberInPK="3"/>
         <index name="channelerrata_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="channel_id"/>
            <column ascending="true" name="errata_id"/>
         </index>
         <checkConstraint constraint="(((advisory_name)::text &lt;&gt; ''::text))" name="vn_channelerrata_advisory_name"/>
         <checkConstraint constraint="(((channel_label)::text &lt;&gt; ''::text))" name="vn_channelerrata_channel_label"/>
      </table>
      <table name="channelpackage" remarks="The list of packages distributed by a channel" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="channelpackage_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channel"/>
            <parent column="mgm_id" foreignKey="channelpackage_package_fkey" implied="false" onDeleteCascade="false" schema="public" table="package"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="channel_id" nullable="false" remarks="The id of the channel" size="0" type="numeric" typeCode="2">
            <parent column="channel_id" foreignKey="channelpackage_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channel"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="package_id" nullable="false" remarks="The id of the package" size="0" type="numeric" typeCode="2">
            <parent column="package_id" foreignKey="channelpackage_package_fkey" implied="false" onDeleteCascade="false" schema="public" table="package"/>
         </column>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="3" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="channel_id" sequenceNumberInPK="2"/>
         <primaryKey column="package_id" sequenceNumberInPK="3"/>
         <index name="channelpackage_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="channel_id"/>
            <column ascending="true" name="package_id"/>
         </index>
      </table>
      <table name="channelpackagesreport" numRows="0" remarks="List of all packages in all channels." schema="public" type="VIEW" viewSql=" SELECT channel.mgm_id,&#10;    channel.label AS channel_label,&#10;    channel.name AS channel_name,&#10;    package.name,&#10;    package.version,&#10;    package.release,&#10;    package.epoch,&#10;    package.arch,&#10;    (((((((&#10;        CASE&#10;            WHEN (package.epoch IS NOT NULL) THEN ((package.epoch)::text || ':'::text)&#10;            ELSE ''::text&#10;        END || (package.name)::text) || '-'::text) || (package.version)::text) || '-'::text) || (package.release)::text) || '.'::text) || (package.arch)::text) AS full_package_name,&#10;    package.synced_date&#10;   FROM ((channel&#10;     JOIN channelpackage ON (((channel.mgm_id = channelpackage.mgm_id) AND (channel.channel_id = channelpackage.channel_id))))&#10;     JOIN package ON (((channel.mgm_id = package.mgm_id) AND (channelpackage.package_id = package.package_id))))&#10;  ORDER BY channel.mgm_id, channel.label, package.name, package.version, package.release, package.epoch, package.arch;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="channel_label" nullable="true" remarks="The unique label identifying the channel" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="channel_name" nullable="true" remarks="The unique name of the channel" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="name" nullable="true" remarks="The name of the package" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="version" nullable="true" remarks="The version number of the package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="release" nullable="true" remarks="The release number of the package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="epoch" nullable="true" remarks="The epoch of the package" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="arch" nullable="true" remarks="The architecture where the package is installable" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="full_package_name" nullable="true" remarks="The full qualified name of the package" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="channelrepository" remarks="The list of the repositories of a channel" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="channelrepository_repository_fkey" implied="false" onDeleteCascade="false" schema="public" table="repository"/>
            <parent column="mgm_id" foreignKey="channelrepository_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channel"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="channel_id" nullable="false" remarks="The id of the channel" size="0" type="numeric" typeCode="2">
            <parent column="channel_id" foreignKey="channelrepository_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channel"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="repository_id" nullable="false" remarks="The id of the repository" size="0" type="numeric" typeCode="2">
            <parent column="repository_id" foreignKey="channelrepository_repository_fkey" implied="false" onDeleteCascade="false" schema="public" table="repository"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="repository_label" nullable="true" remarks="The unique label of the repository" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="4" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="channel_id" sequenceNumberInPK="2"/>
         <primaryKey column="repository_id" sequenceNumberInPK="3"/>
         <index name="channelrepository_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="channel_id"/>
            <column ascending="true" name="repository_id"/>
         </index>
         <checkConstraint constraint="(((repository_label)::text &lt;&gt; ''::text))" name="vn_channelrepository_repository_label"/>
      </table>
      <table name="channelsreport" numRows="0" remarks="List of all channels with number of packages in each channel." schema="public" type="VIEW" viewSql=" SELECT channel.mgm_id,&#10;    channel.channel_id,&#10;    channel.label AS channel_label,&#10;    channel.name AS channel_name,&#10;    count(channelpackage.channel_id) AS number_of_packages,&#10;    channel.organization,&#10;    channel.synced_date&#10;   FROM (channel&#10;     LEFT JOIN channelpackage ON (((channel.mgm_id = channelpackage.mgm_id) AND (channel.channel_id = channelpackage.channel_id))))&#10;  GROUP BY channel.mgm_id, channel.channel_id, channel.label, channel.name, channel.organization, channel.synced_date&#10;  ORDER BY channel.mgm_id, channel.channel_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="channel_id" nullable="true" remarks="The id of the channel" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="channel_label" nullable="true" remarks="The unique label identifying this channel" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="channel_name" nullable="true" remarks="The unique name of the channel" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="number_of_packages" nullable="true" remarks="The number of packages provided by the channel" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="clonedchannelsreport" numRows="0" remarks="List of cloned channels with their original channel." schema="public" type="VIEW" viewSql=" SELECT original.mgm_id,&#10;    original.channel_id AS original_channel_id,&#10;    original.label AS original_channel_label,&#10;    original.name AS original_channel_name,&#10;    cloned.channel_id AS new_channel_id,&#10;    cloned.label AS new_channel_label,&#10;    cloned.name AS new_channel_name,&#10;    cloned.synced_date&#10;   FROM (channel original&#10;     JOIN channel cloned ON (((cloned.mgm_id = original.mgm_id) AND (cloned.original_channel_id = original.channel_id))))&#10;  ORDER BY original.mgm_id, original.channel_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="original_channel_id" nullable="true" remarks="The id of the source channel" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="original_channel_label" nullable="true" remarks="The unique label identifying the source channel" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="original_channel_name" nullable="true" remarks="The unique name of the source channel" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="new_channel_id" nullable="true" remarks="The id of the cloned channel" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="new_channel_label" nullable="true" remarks="The unique label identifying the cloned channel" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="new_channel_name" nullable="true" remarks="The unique name of the cloned channel" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="cocoattestation" remarks="The list of Confidential Compute Attestations performed on a system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <child column="mgm_id" foreignKey="cocoattestationresult_report_fkey" implied="false" onDeleteCascade="false" schema="public" table="cocoattestationresult"/>
            <parent column="mgm_id" foreignKey="cocoattestation_system_action_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemaction"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="report_id" nullable="false" remarks="The id of the report" size="0" type="numeric" typeCode="2">
            <child column="report_id" foreignKey="cocoattestationresult_report_fkey" implied="false" onDeleteCascade="false" schema="public" table="cocoattestationresult"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="cocoattestation_system_action_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemaction"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="action_id" nullable="false" remarks="The id of the action that triggered the attestation" size="0" type="numeric" typeCode="2">
            <parent column="action_id" foreignKey="cocoattestation_system_action_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemaction"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="environment_type" nullable="true" remarks="The type of the environment of the attested system" size="120" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="status" nullable="true" remarks="The status of the attestation" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="create_time" nullable="true" remarks="The timestamp when the attestation was started" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="pass" nullable="true" remarks="The number of passed attestation results" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="fail" nullable="true" remarks="The number of failed attestation results" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="9" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="report_id" sequenceNumberInPK="2"/>
         <index name="cocoattestation_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="report_id"/>
         </index>
         <checkConstraint constraint="(((environment_type)::text &lt;&gt; ''::text))" name="vn_cocoattestation_environment_type"/>
         <checkConstraint constraint="(((status)::text &lt;&gt; ''::text))" name="vn_cocoattestation_status"/>
      </table>
      <table name="cocoattestationreport" numRows="0" remarks="List the Confidential Compute Attestations performed for each system." schema="public" type="VIEW" viewSql=" SELECT cocoattestation.mgm_id,&#10;    cocoattestation.report_id,&#10;    system.system_id,&#10;    cocoattestation.action_id,&#10;    system.hostname,&#10;    system.organization,&#10;    cocoattestation.environment_type,&#10;    cocoattestation.status AS report_status,&#10;    cocoattestation.pass,&#10;    cocoattestation.fail,&#10;    cocoattestation.create_time,&#10;    cocoattestation.synced_date&#10;   FROM (cocoattestation&#10;     LEFT JOIN system ON (((cocoattestation.mgm_id = system.mgm_id) AND (cocoattestation.system_id = system.system_id))))&#10;  ORDER BY cocoattestation.mgm_id, cocoattestation.report_id, system.system_id, cocoattestation.create_time;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="report_id" nullable="true" remarks="The id of the security scan" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="action_id" nullable="true" remarks="The id of the action that triggered the scan" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="hostname" nullable="true" remarks="The hostname that identifies this system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="environment_type" nullable="true" remarks="The type of the environment of the attested system" size="120" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="report_status" nullable="true" remarks="The status of the report" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="pass" nullable="true" remarks="The number of passed rules" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="fail" nullable="true" remarks="The number of failed rules" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="10" name="create_time" nullable="true" remarks="When the attestation was started" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="11" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="cocoattestationresult" remarks="List the Confidential Compute Attestations results performed for each report and system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="cocoattestationresult_report_fkey" implied="false" onDeleteCascade="false" schema="public" table="cocoattestation"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="report_id" nullable="false" remarks="The id of the report" size="0" type="numeric" typeCode="2">
            <parent column="report_id" foreignKey="cocoattestationresult_report_fkey" implied="false" onDeleteCascade="false" schema="public" table="cocoattestation"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="result_type_id" nullable="false" remarks="The id of the result type" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="result_type" nullable="true" remarks="The type of the result" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="result_status" nullable="true" remarks="The status of the result" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="description" nullable="true" remarks="The description of the result" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="details" nullable="true" remarks="The details of the performed test" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="attestation_time" nullable="true" remarks="The timestamp with the time of the attestation" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="8" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="report_id" sequenceNumberInPK="2"/>
         <primaryKey column="result_type_id" sequenceNumberInPK="3"/>
         <index name="cocoattestationresult_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="report_id"/>
            <column ascending="true" name="result_type_id"/>
         </index>
         <checkConstraint constraint="(((description)::text &lt;&gt; ''::text))" name="vn_cocoattestationresult_description"/>
         <checkConstraint constraint="(((result_status)::text &lt;&gt; ''::text))" name="vn_cocoattestationresult_result_status"/>
         <checkConstraint constraint="(((result_type)::text &lt;&gt; ''::text))" name="vn_cocoattestationresult_result_type"/>
      </table>
      <table name="cocoattestationresultreport" numRows="0" remarks="List the Confidential Compute Attestations results performed for each report and system." schema="public" type="VIEW" viewSql=" SELECT cocoattestationresult.mgm_id,&#10;    cocoattestationresult.report_id,&#10;    cocoattestationresult.result_type_id,&#10;    system.system_id,&#10;    system.hostname,&#10;    system.organization,&#10;    cocoattestation.environment_type,&#10;    cocoattestationresult.result_type,&#10;    cocoattestationresult.result_status,&#10;    cocoattestationresult.description,&#10;    cocoattestationresult.attestation_time,&#10;    cocoattestationresult.synced_date&#10;   FROM ((cocoattestationresult&#10;     LEFT JOIN cocoattestation ON (((cocoattestationresult.mgm_id = cocoattestation.mgm_id) AND (cocoattestationresult.report_id = cocoattestation.report_id))))&#10;     LEFT JOIN system ON (((cocoattestationresult.mgm_id = system.mgm_id) AND (cocoattestation.system_id = system.system_id))))&#10;  ORDER BY cocoattestationresult.mgm_id, cocoattestationresult.report_id, cocoattestationresult.result_type_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="report_id" nullable="true" remarks="The id of the report" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="result_type_id" nullable="true" remarks="The id of the result type" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="hostname" nullable="true" remarks="The hostname that identifies this system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="environment_type" nullable="true" remarks="The type of the environment of the attested system" size="120" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="result_type" nullable="true" remarks="The type of the result" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="result_status" nullable="true" remarks="The status of the result" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="description" nullable="true" remarks="" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="10" name="attestation_time" nullable="true" remarks="The timestamp when this result was attested" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="11" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="customchannelsreport" numRows="0" remarks="Channel metadata for all channels owned by an organization" schema="public" type="VIEW" viewSql=" WITH repositories AS (&#10;         SELECT channelrepository.mgm_id,&#10;            channelrepository.channel_id,&#10;            string_agg(((channelrepository.repository_id || ' - '::text) || (channelrepository.repository_label)::text), ';'::text) AS channel_repositories&#10;           FROM channelrepository&#10;          GROUP BY channelrepository.mgm_id, channelrepository.channel_id&#10;        )&#10; SELECT channel.mgm_id,&#10;    channel.organization,&#10;    channel.channel_id,&#10;    channel.label,&#10;    channel.name,&#10;    channel.summary,&#10;    channel.description,&#10;    channel.parent_channel_label,&#10;    channel.arch,&#10;    channel.checksum_type,&#10;    repositories.channel_repositories,&#10;    channel.synced_date&#10;   FROM (channel&#10;     LEFT JOIN repositories ON (((channel.mgm_id = repositories.mgm_id) AND (channel.channel_id = repositories.channel_id))))&#10;  WHERE (channel.organization IS NOT NULL)&#10;  ORDER BY channel.mgm_id, channel.organization, channel.channel_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="channel_id" nullable="true" remarks="The id of the channel" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="label" nullable="true" remarks="The unique label identifying the channel" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="name" nullable="true" remarks="The unique name of the channel" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="summary" nullable="true" remarks="A brief summary of the channel" size="500" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="description" nullable="true" remarks="A detailed description of the channel scope and purpose" size="4000" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="parent_channel_label" nullable="true" remarks="The label of the parent of the channel, if exists" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="arch" nullable="true" remarks="The architecture of the packages hold by the channel" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="checksum_type" nullable="true" remarks="The type of checksum used by the channel" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="channel_repositories" nullable="true" remarks="The list of repositories linked to the channel, separated by ;" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="11" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="custominforeport" numRows="0" remarks="Display all custom info for every system with any info associated" schema="public" type="VIEW" viewSql=" SELECT systemcustominfo.mgm_id,&#10;    systemcustominfo.system_id,&#10;    system.profile_name AS system_name,&#10;    systemcustominfo.organization,&#10;    systemcustominfo.key,&#10;    systemcustominfo.value,&#10;    systemcustominfo.synced_date&#10;   FROM (systemcustominfo&#10;     JOIN system ON (((systemcustominfo.mgm_id = system.mgm_id) AND (systemcustominfo.system_id = system.system_id))))&#10;  ORDER BY systemcustominfo.mgm_id, systemcustominfo.organization, systemcustominfo.system_id, systemcustominfo.key;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="system_name" nullable="true" remarks="The unique descriptive name of the system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="key" nullable="true" remarks="The name of the custom information" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="value" nullable="true" remarks="The value of the custom information" size="4000" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="errata" remarks="The list of patches managed by a SUSE Multi-Linux Manager instance" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <child column="mgm_id" foreignKey="channelerrata_errata_fkey" implied="false" onDeleteCascade="false" schema="public" table="channelerrata"/>
            <child column="mgm_id" foreignKey="systemerrata_errata_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemerrata"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="errata_id" nullable="false" remarks="The id of the patch" size="0" type="numeric" typeCode="2">
            <child column="errata_id" foreignKey="channelerrata_errata_fkey" implied="false" onDeleteCascade="false" schema="public" table="channelerrata"/>
            <child column="errata_id" foreignKey="systemerrata_errata_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemerrata"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="advisory_name" nullable="true" remarks="The unique name of this advisory" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="advisory_type" nullable="true" remarks="The type of patch. Possible values: Product Enhancement Advisory, Security Advisory, Bug Fix Advisory" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="advisory_status" nullable="true" remarks="The status of the patch. Possible values: final, stable, retracted" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="issue_date" nullable="true" remarks="When this advisory was first issued" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="update_date" nullable="true" remarks="When this advisory was last updated" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="severity" nullable="true" remarks="The serverity of this advisory. Possible values: Critical, Important, Moderate, Low" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="8" name="reboot_required" nullable="false" remarks="True if a reboot of the system is required after applying this patch" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="9" name="affects_package_manager" nullable="false" remarks="True if this patch make changes to the package management system" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="cve" nullable="true" remarks="A list of CVE ids that this patch addresses, separated by ;" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="synopsis" nullable="true" remarks="The brief description of this patch" size="4000" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="13" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="errata_id" sequenceNumberInPK="2"/>
         <index name="errata_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="errata_id"/>
         </index>
         <checkConstraint constraint="(((advisory_name)::text &lt;&gt; ''::text))" name="vn_errata_advisory_name"/>
         <checkConstraint constraint="(((advisory_status)::text &lt;&gt; ''::text))" name="vn_errata_advisory_status"/>
         <checkConstraint constraint="(((advisory_type)::text &lt;&gt; ''::text))" name="vn_errata_advisory_type"/>
         <checkConstraint constraint="(((organization)::text &lt;&gt; ''::text))" name="vn_errata_organization"/>
         <checkConstraint constraint="(((severity)::text &lt;&gt; ''::text))" name="vn_errata_severity"/>
         <checkConstraint constraint="(((synopsis)::text &lt;&gt; ''::text))" name="vn_errata_synopsis"/>
      </table>
      <table name="erratachannelsreport" numRows="0" remarks="List of all erratas and their relation to channels." schema="public" type="VIEW" viewSql=" SELECT mgm_id,&#10;    advisory_name,&#10;    errata_id,&#10;    channel_label,&#10;    channel_id,&#10;    synced_date&#10;   FROM channelerrata&#10;  ORDER BY mgm_id, advisory_name, errata_id, channel_label, channel_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="advisory_name" nullable="true" remarks="The unique name of the advisory" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="errata_id" nullable="true" remarks="The id of the patch" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="channel_label" nullable="true" remarks="The unique label identifying the channel" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="channel_id" nullable="true" remarks="The id of the channel" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="erratalistreport" numRows="0" remarks="Patches out of compliance information with their details." schema="public" type="VIEW" viewSql=" SELECT errata.mgm_id,&#10;    errata.errata_id,&#10;    errata.advisory_name,&#10;    errata.advisory_type,&#10;    errata.cve,&#10;    errata.synopsis,&#10;    errata.issue_date,&#10;    errata.update_date,&#10;    count(systemerrata.system_id) AS affected_systems,&#10;    errata.synced_date&#10;   FROM (errata&#10;     LEFT JOIN systemerrata ON (((errata.mgm_id = systemerrata.mgm_id) AND (errata.errata_id = systemerrata.errata_id))))&#10;  GROUP BY errata.mgm_id, errata.errata_id, errata.advisory_name, errata.advisory_type, errata.cve, errata.synopsis, errata.issue_date, errata.update_date, errata.synced_date&#10;  ORDER BY errata.mgm_id, errata.advisory_name;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="errata_id" nullable="true" remarks="The id of the patch" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="advisory_name" nullable="true" remarks="The unique name of the advisory" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="advisory_type" nullable="true" remarks="The type of patch. Possible values: Product Enhancement Advisory, Security Advisory, Bug Fix Advisory" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="cve" nullable="true" remarks="A list of CVE ids that this patch addresses, separated by ;" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="synopsis" nullable="true" remarks="The brief description of this patch" size="4000" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="issue_date" nullable="true" remarks="When this advisory was first issued" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="update_date" nullable="true" remarks="When this advisory was last updated" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="affected_systems" nullable="true" remarks="The number of system affected by this advisory" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="erratasystemsreport" numRows="0" remarks="Patches out of compliance information with the details about the system." schema="public" type="VIEW" viewSql=" WITH v6addresses AS (&#10;         SELECT systemnetaddressv6.mgm_id,&#10;            systemnetaddressv6.system_id,&#10;            systemnetaddressv6.interface_id,&#10;            string_agg(((((systemnetaddressv6.address)::text || ' ('::text) || (systemnetaddressv6.scope)::text) || ')'::text), ';'::text) AS ip6_addresses&#10;           FROM systemnetaddressv6&#10;          GROUP BY systemnetaddressv6.mgm_id, systemnetaddressv6.system_id, systemnetaddressv6.interface_id&#10;        )&#10; SELECT systemerrata.mgm_id,&#10;    systemerrata.errata_id,&#10;    systemerrata.advisory_name,&#10;    systemerrata.system_id,&#10;    system.profile_name,&#10;    system.hostname,&#10;    systemnetaddressv4.address AS ip_address,&#10;    v6addresses.ip6_addresses,&#10;    systemerrata.synced_date&#10;   FROM ((((systemerrata&#10;     JOIN system ON (((systemerrata.mgm_id = system.mgm_id) AND (systemerrata.system_id = system.system_id))))&#10;     LEFT JOIN systemnetinterface ON (((system.mgm_id = systemnetinterface.mgm_id) AND (system.system_id = systemnetinterface.system_id) AND systemnetinterface.primary_interface)))&#10;     LEFT JOIN systemnetaddressv4 ON (((system.mgm_id = systemnetaddressv4.mgm_id) AND (system.system_id = systemnetaddressv4.system_id) AND (systemnetinterface.interface_id = systemnetaddressv4.interface_id))))&#10;     LEFT JOIN v6addresses ON (((system.mgm_id = v6addresses.mgm_id) AND (system.system_id = v6addresses.system_id) AND (systemnetinterface.interface_id = v6addresses.interface_id))))&#10;  ORDER BY systemerrata.mgm_id, systemerrata.errata_id, systemerrata.system_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="errata_id" nullable="true" remarks="The id of the patch" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="advisory_name" nullable="true" remarks="The unique name of this advisory" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="profile_name" nullable="true" remarks="The unique descriptive name of the system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="hostname" nullable="true" remarks="The hostname that identifies this system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="ip_address" nullable="true" remarks="The IPv4 address of the primary network interface of the system" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="ip6_addresses" nullable="true" remarks="The list of IPv6 addresses and their scopes of the primary network interface of the system, separated by ;" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="historyreport" numRows="0" remarks="Event history for each system." schema="public" type="VIEW" viewSql=" SELECT systemaction.mgm_id,&#10;    systemaction.system_id,&#10;    systemaction.action_id AS event_id,&#10;    systemaction.hostname,&#10;    systemaction.event,&#10;    systemaction.completion_time AS event_time,&#10;    systemaction.status,&#10;    systemaction.event_data,&#10;    systemaction.synced_date&#10;   FROM systemaction&#10;UNION ALL&#10; SELECT systemhistory.mgm_id,&#10;    systemhistory.system_id,&#10;    systemhistory.history_id AS event_id,&#10;    systemhistory.hostname,&#10;    systemhistory.event,&#10;    systemhistory.event_time,&#10;    'Done'::character varying AS status,&#10;    systemhistory.event_data,&#10;    systemhistory.synced_date&#10;   FROM systemhistory;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="event_id" nullable="true" remarks="The id of the history event" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="hostname" nullable="true" remarks="The hostname that identifies this system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="event" nullable="true" remarks="The type of history event" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="event_time" nullable="true" remarks="When this event has happened" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="status" nullable="true" remarks="The current status of the event. Possible values Queued, Picked Up, Completed, Failed" size="2147483647" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="event_data" nullable="true" remarks="Additional information related to the event" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="hostguestsreport" numRows="0" remarks="List all systems, along with their guests" schema="public" type="VIEW" viewSql=" SELECT mgm_id,&#10;    host_system_id AS host,&#10;    virtual_system_id AS guest,&#10;    synced_date&#10;   FROM systemvirtualdata&#10;  WHERE ((host_system_id IS NOT NULL) AND (virtual_system_id IS NOT NULL))&#10;  ORDER BY mgm_id, host_system_id, virtual_system_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="host" nullable="true" remarks="The id of the host system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="guest" nullable="true" remarks="The id of the guest system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="inventoryreport" numRows="0" remarks="List of all registered systems, together with hardware and software information." schema="public" type="VIEW" viewSql=" WITH entitlements AS (&#10;         SELECT systementitlement.mgm_id,&#10;            systementitlement.system_id,&#10;            string_agg(((systementitlement.system_group_id || ' - '::text) || (systementitlement.name)::text), ';'::text) AS entitlements&#10;           FROM systementitlement&#10;          GROUP BY systementitlement.mgm_id, systementitlement.system_id&#10;        ), groups AS (&#10;         SELECT systemgroupmember.mgm_id,&#10;            systemgroupmember.system_id,&#10;            string_agg(((systemgroupmember.system_group_id || ' - '::text) || (systemgroupmember.group_name)::text), ';'::text) AS system_groups&#10;           FROM systemgroupmember&#10;          GROUP BY systemgroupmember.mgm_id, systemgroupmember.system_id&#10;        ), configchannels AS (&#10;         SELECT systemconfigchannel.mgm_id,&#10;            systemconfigchannel.system_id,&#10;            string_agg(((systemconfigchannel.config_channel_id || ' - '::text) || (systemconfigchannel.name)::text), ';'::text) AS configuration_channels&#10;           FROM systemconfigchannel&#10;          GROUP BY systemconfigchannel.mgm_id, systemconfigchannel.system_id&#10;        ), channels AS (&#10;         SELECT systemchannel.mgm_id,&#10;            systemchannel.system_id,&#10;            string_agg(((systemchannel.channel_id || ' - '::text) || (systemchannel.name)::text), ';'::text) AS software_channels&#10;           FROM systemchannel&#10;          GROUP BY systemchannel.mgm_id, systemchannel.system_id&#10;        ), v6addresses AS (&#10;         SELECT systemnetaddressv6.mgm_id,&#10;            systemnetaddressv6.system_id,&#10;            systemnetaddressv6.interface_id,&#10;            string_agg(((((systemnetaddressv6.address)::text || ' ('::text) || (systemnetaddressv6.scope)::text) || ')'::text), ';'::text) AS ip6_addresses&#10;           FROM systemnetaddressv6&#10;          GROUP BY systemnetaddressv6.mgm_id, systemnetaddressv6.system_id, systemnetaddressv6.interface_id&#10;        )&#10; SELECT system.mgm_id,&#10;    system.system_id,&#10;    system.profile_name,&#10;    system.hostname,&#10;    system.minion_id,&#10;    system.machine_id,&#10;    system.registered_by,&#10;    system.registration_time,&#10;    system.last_checkin_time,&#10;    system.kernel_version,&#10;    system.organization,&#10;    system.architecture,&#10;    system.hardware,&#10;    systemnetinterface.name AS primary_interface,&#10;    systemnetinterface.hardware_address,&#10;    systemnetaddressv4.address AS ip_address,&#10;    v6addresses.ip6_addresses,&#10;    configchannels.configuration_channels,&#10;    entitlements.entitlements,&#10;    groups.system_groups,&#10;    systemvirtualdata.host_system_id AS virtual_host,&#10;    (systemvirtualdata.virtual_system_id IS NULL) AS is_virtualized,&#10;    systemvirtualdata.instance_type_name AS virt_type,&#10;    channels.software_channels,&#10;    COALESCE(systemoutdated.packages_out_of_date, (0)::bigint) AS packages_out_of_date,&#10;    COALESCE(systemoutdated.errata_out_of_date, (0)::bigint) AS errata_out_of_date,&#10;    system.synced_date&#10;   FROM (((((((((system&#10;     LEFT JOIN systemvirtualdata ON (((system.mgm_id = systemvirtualdata.mgm_id) AND (system.system_id = systemvirtualdata.virtual_system_id))))&#10;     LEFT JOIN systemoutdated ON (((system.mgm_id = systemoutdated.mgm_id) AND (system.system_id = systemoutdated.system_id))))&#10;     LEFT JOIN systemnetinterface ON (((system.mgm_id = systemnetinterface.mgm_id) AND (system.system_id = systemnetinterface.system_id) AND systemnetinterface.primary_interface)))&#10;     LEFT JOIN systemnetaddressv4 ON (((system.mgm_id = systemnetaddressv4.mgm_id) AND (system.system_id = systemnetaddressv4.system_id) AND (systemnetinterface.interface_id = systemnetaddressv4.interface_id))))&#10;     LEFT JOIN v6addresses ON (((system.mgm_id = v6addresses.mgm_id) AND (system.system_id = v6addresses.system_id) AND (systemnetinterface.interface_id = v6addresses.interface_id))))&#10;     LEFT JOIN entitlements ON (((system.mgm_id = entitlements.mgm_id) AND (system.system_id = entitlements.system_id))))&#10;     LEFT JOIN groups ON (((system.mgm_id = groups.mgm_id) AND (system.system_id = groups.system_id))))&#10;     LEFT JOIN configchannels ON (((system.mgm_id = configchannels.mgm_id) AND (system.system_id = configchannels.system_id))))&#10;     LEFT JOIN channels ON (((system.mgm_id = channels.mgm_id) AND (system.system_id = channels.system_id))))&#10;  ORDER BY system.mgm_id, system.system_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="profile_name" nullable="true" remarks="The unique descriptive name of the system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="hostname" nullable="true" remarks="The hostname that identifies this system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="minion_id" nullable="true" remarks="The identifier of the minion, if the system is a Salt Minion" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="machine_id" nullable="true" remarks="The identifier of the machine" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="registered_by" nullable="true" remarks="The user account who onboarded this system" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="registration_time" nullable="true" remarks="When this system was onboarded" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="last_checkin_time" nullable="true" remarks="When this system was visible and reachable last time" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="kernel_version" nullable="true" remarks="The version of the kernel installed on this system" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="architecture" nullable="true" remarks="The architecture of the system" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="hardware" nullable="true" remarks="A brief description of the hardware specification of this system" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="primary_interface" nullable="true" remarks="The name of the system primary network interface" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="hardware_address" nullable="true" remarks="The MAC address of the network interface" size="96" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="ip_address" nullable="true" remarks="The IPv4 address of the primary network interface of the system" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="ip6_addresses" nullable="true" remarks="The list of IPv6 addresses and their scopes of the primary network interface of the system, separated by ;" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="configuration_channels" nullable="true" remarks="The list of configuration channels the system is subscribed to, separated by ;" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="entitlements" nullable="true" remarks="The list of entitlements of the system, separated by ;" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="system_groups" nullable="true" remarks="The list of groups of the system, separated by ;" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="20" name="virtual_host" nullable="true" remarks="The id of the host of the system, if any" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="21" name="is_virtualized" nullable="true" remarks="True if the system is virtualized" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="22" name="virt_type" nullable="true" remarks="The type of virtualization, if the system is virualized" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="23" name="software_channels" nullable="true" remarks="THe list of software channels the system is subscribed to, separated by ;" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="24" name="packages_out_of_date" nullable="true" remarks="The number of packages installed on the system that can be updated" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="25" name="errata_out_of_date" nullable="true" remarks="The number of patches that can be applied to the system" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="26" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="package" remarks="The list of the packages managed by a SUSE Multi-Linux Manager instance" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <child column="mgm_id" foreignKey="channelpackage_package_fkey" implied="false" onDeleteCascade="false" schema="public" table="channelpackage"/>
            <child column="mgm_id" foreignKey="systempackageupdate_package_fkey" implied="false" onDeleteCascade="false" schema="public" table="systempackageupdate"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="package_id" nullable="false" remarks="The id of the package" size="0" type="numeric" typeCode="2">
            <child column="package_id" foreignKey="channelpackage_package_fkey" implied="false" onDeleteCascade="false" schema="public" table="channelpackage"/>
            <child column="package_id" foreignKey="systempackageupdate_package_fkey" implied="false" onDeleteCascade="false" schema="public" table="systempackageupdate"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="true" remarks="The name of the package" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="epoch" nullable="true" remarks="The epoch of the package" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="version" nullable="true" remarks="The version number of the package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="release" nullable="true" remarks="The release number of the package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="arch" nullable="true" remarks="The architecture where this package is installable" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="type" nullable="true" remarks="The type of the package. Possible values: rpm, deb" size="10" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="package_size" nullable="true" remarks="The size of the package, in bytes" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="payload_size" nullable="true" remarks="The size of the payload contained in this package, in bytes" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="installed_size" nullable="true" remarks="The final size after the installation of this package, in bytes" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="vendor" nullable="true" remarks="The vendor providing this package" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="13" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="package_id" sequenceNumberInPK="2"/>
         <index name="package_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="package_id"/>
         </index>
         <checkConstraint constraint="(((arch)::text &lt;&gt; ''::text))" name="vn_package_arch"/>
         <checkConstraint constraint="(((epoch)::text &lt;&gt; ''::text))" name="vn_package_epoch"/>
         <checkConstraint constraint="(((name)::text &lt;&gt; ''::text))" name="vn_package_name"/>
         <checkConstraint constraint="(((organization)::text &lt;&gt; ''::text))" name="vn_package_organization"/>
         <checkConstraint constraint="(((release)::text &lt;&gt; ''::text))" name="vn_package_release"/>
         <checkConstraint constraint="(((type)::text &lt;&gt; ''::text))" name="vn_package_type"/>
         <checkConstraint constraint="(((vendor)::text &lt;&gt; ''::text))" name="vn_package_vendor"/>
         <checkConstraint constraint="(((version)::text &lt;&gt; ''::text))" name="vn_package_version"/>
      </table>
      <table name="packagesupdatesallreport" numRows="0" remarks="List of packages that can be updated for all systems, showing all available newer versions." schema="public" type="VIEW" viewSql=" SELECT system.mgm_id,&#10;    system.system_id,&#10;    system.organization,&#10;    systempackageupdate.name AS package_name,&#10;    systempackageinstalled.epoch AS package_epoch,&#10;    systempackageinstalled.version AS package_version,&#10;    systempackageinstalled.release AS package_release,&#10;    systempackageinstalled.arch AS package_arch,&#10;    systempackageupdate.epoch AS newer_epoch,&#10;    systempackageupdate.version AS newer_version,&#10;    systempackageupdate.release AS newer_release,&#10;    systempackageupdate.synced_date&#10;   FROM ((system&#10;     JOIN systempackageupdate ON (((system.mgm_id = systempackageupdate.mgm_id) AND (system.system_id = systempackageupdate.system_id))))&#10;     JOIN systempackageinstalled ON (((system.mgm_id = systempackageinstalled.mgm_id) AND (system.system_id = systempackageinstalled.system_id) AND ((systempackageinstalled.name)::text = (systempackageupdate.name)::text))))&#10;  ORDER BY system.mgm_id, system.organization, system.system_id, systempackageupdate.name;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="package_name" nullable="true" remarks="The name of the package" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="package_epoch" nullable="true" remarks="The epoch of the installed package" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="package_version" nullable="true" remarks="The version number of the installed package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="package_release" nullable="true" remarks="The release number of the installed package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="package_arch" nullable="true" remarks="The architecture of the package installed package" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="newer_epoch" nullable="true" remarks="The epoch of the new package that can be installed" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="newer_version" nullable="true" remarks="The version number of the new package that can be installed" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="newer_release" nullable="true" remarks="The release number of the new package that can be installed" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="11" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="packagesupdatesnewestreport" numRows="0" remarks="List of packages that can be updated for all systems, showing only the newest package version available." schema="public" type="VIEW" viewSql=" SELECT system.mgm_id,&#10;    system.system_id,&#10;    system.organization,&#10;    systempackageupdate.name AS package_name,&#10;    systempackageinstalled.epoch AS package_epoch,&#10;    systempackageinstalled.version AS package_version,&#10;    systempackageinstalled.release AS package_release,&#10;    systempackageinstalled.arch AS package_arch,&#10;    systempackageupdate.epoch AS newer_epoch,&#10;    systempackageupdate.version AS newer_version,&#10;    systempackageupdate.release AS newer_release,&#10;    systempackageupdate.synced_date&#10;   FROM ((system&#10;     JOIN systempackageupdate ON (((system.mgm_id = systempackageupdate.mgm_id) AND (system.system_id = systempackageupdate.system_id))))&#10;     JOIN systempackageinstalled ON (((system.mgm_id = systempackageinstalled.mgm_id) AND (system.system_id = systempackageinstalled.system_id) AND ((systempackageinstalled.name)::text = (systempackageupdate.name)::text))))&#10;  WHERE systempackageupdate.is_latest&#10;  ORDER BY system.mgm_id, system.organization, system.system_id, systempackageupdate.name;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="package_name" nullable="true" remarks="The name of the package" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="package_epoch" nullable="true" remarks="The epoch of the installed package" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="package_version" nullable="true" remarks="The version number of the installed package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="package_release" nullable="true" remarks="The release number of the installed package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="package_arch" nullable="true" remarks="The architecture of the package installed package" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="newer_epoch" nullable="true" remarks="The epoch of the new package that can be installed" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="newer_version" nullable="true" remarks="The version number of the new package that can be installed" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="newer_release" nullable="true" remarks="The release number of the new package that can be installed" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="11" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="proxyoverviewreport" numRows="0" remarks="List of proxies and the systems registered through them" schema="public" type="VIEW" viewSql=" SELECT prx.mgm_id,&#10;    prx.system_id AS proxy_id,&#10;    prx.hostname AS proxy_name,&#10;    sys.hostname AS system_name,&#10;    sys.system_id,&#10;    prx.synced_date&#10;   FROM (system prx&#10;     JOIN system sys ON (((sys.proxy_system_id = prx.system_id) AND (sys.mgm_id = prx.mgm_id))))&#10;  WHERE prx.is_proxy&#10;  ORDER BY prx.mgm_id, prx.system_id, sys.system_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="proxy_id" nullable="true" remarks="The id of the proxy system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="proxy_name" nullable="true" remarks="The unique descriptive name of the proxy" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="system_name" nullable="true" remarks="The unique descriptive name of the system behind the proxy" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="system_id" nullable="true" remarks="The id of the system behind the proxy" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="repository" remarks="The list of repositories managed by a SUSE Multi-Linux Manager instance" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <child column="mgm_id" foreignKey="channelrepository_repository_fkey" implied="false" onDeleteCascade="false" schema="public" table="channelrepository"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="repository_id" nullable="false" remarks="The id of the repository" size="0" type="numeric" typeCode="2">
            <child column="repository_id" foreignKey="channelrepository_repository_fkey" implied="false" onDeleteCascade="false" schema="public" table="channelrepository"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="label" nullable="true" remarks="The unique label of the repository" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="url" nullable="true" remarks="The url where the repository is reachable" size="2048" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="type" nullable="true" remarks="The type of the repository. Possible values: yum, uln, deb" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="metadata_signed" nullable="true" remarks="True if the metadata of this repositories is signed" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="7" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="repository_id" sequenceNumberInPK="2"/>
         <index name="repository_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="repository_id"/>
         </index>
         <checkConstraint constraint="(((label)::text &lt;&gt; ''::text))" name="vn_repository_label"/>
         <checkConstraint constraint="(((organization)::text &lt;&gt; ''::text))" name="vn_repository_organization"/>
         <checkConstraint constraint="(((type)::text &lt;&gt; ''::text))" name="vn_repository_type"/>
         <checkConstraint constraint="(((url)::text &lt;&gt; ''::text))" name="vn_repository_url"/>
      </table>
      <table name="scapscanreport" numRows="0" remarks="List the SCAP scans performed for each system." schema="public" type="VIEW" viewSql=" SELECT xccdscan.mgm_id,&#10;    xccdscan.scan_id,&#10;    system.system_id,&#10;    xccdscan.action_id,&#10;    system.hostname,&#10;    system.organization,&#10;    systemnetaddressv4.address AS ip_address,&#10;    xccdscan.name,&#10;    xccdscan.benchmark,&#10;    xccdscan.benchmark_version,&#10;    xccdscan.profile,&#10;    xccdscan.profile_title,&#10;    xccdscan.end_time,&#10;    xccdscan.pass,&#10;    xccdscan.fail,&#10;    xccdscan.error,&#10;    xccdscan.not_selected,&#10;    xccdscan.informational,&#10;    xccdscan.other,&#10;    xccdscan.synced_date&#10;   FROM (((xccdscan&#10;     LEFT JOIN system ON (((xccdscan.mgm_id = system.mgm_id) AND (xccdscan.system_id = system.system_id))))&#10;     LEFT JOIN systemnetinterface ON (((system.mgm_id = systemnetinterface.mgm_id) AND (system.system_id = systemnetinterface.system_id) AND systemnetinterface.primary_interface)))&#10;     LEFT JOIN systemnetaddressv4 ON (((system.mgm_id = systemnetaddressv4.mgm_id) AND (system.system_id = systemnetaddressv4.system_id) AND (systemnetinterface.interface_id = systemnetaddressv4.interface_id))))&#10;  ORDER BY xccdscan.mgm_id, xccdscan.scan_id, system.system_id, xccdscan.end_time;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="scan_id" nullable="true" remarks="The id of the security scan" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="action_id" nullable="true" remarks="The id of the action that triggered the scan" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="hostname" nullable="true" remarks="The hostname that identifies this system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="ip_address" nullable="true" remarks="The IPv4 address of the system" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="name" nullable="true" remarks="The name of the security scan" size="120" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="benchmark" nullable="true" remarks="The name of the performed benchmark" size="120" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="benchmark_version" nullable="true" remarks="The version of the benchmark" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="profile" nullable="true" remarks="The name of the profile used for the scan" size="120" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="profile_title" nullable="true" remarks="The descriptive title of the profile" size="120" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="12" name="end_time" nullable="true" remarks="When the scan has ended" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="pass" nullable="true" remarks="The number of passed rules" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="fail" nullable="true" remarks="The number of failed rules" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="error" nullable="true" remarks="The number of erroneous rules" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="not_selected" nullable="true" remarks="The number of rules not selected for this scan" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="informational" nullable="true" remarks="The number of informational rules" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="other" nullable="true" remarks="The number of rules with other outcomes" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="19" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="scapscanresultreport" numRows="0" remarks="List the identifiers and the results of SCAP rules for each scan performed." schema="public" type="VIEW" viewSql=" SELECT xccdscanresult.mgm_id,&#10;    xccdscanresult.scan_id,&#10;    xccdscanresult.rule_id,&#10;    xccdscanresult.idref,&#10;    xccdscanresult.rulesystem,&#10;    system.system_id,&#10;    system.hostname,&#10;    system.organization,&#10;    xccdscanresult.ident,&#10;    xccdscanresult.result,&#10;    xccdscanresult.synced_date&#10;   FROM (xccdscanresult&#10;     LEFT JOIN system ON (((xccdscanresult.mgm_id = system.mgm_id) AND (xccdscanresult.system_id = system.system_id))))&#10;  ORDER BY xccdscanresult.mgm_id, xccdscanresult.scan_id, xccdscanresult.rule_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="scan_id" nullable="true" remarks="The id of the security scan" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="rule_id" nullable="true" remarks="The id of the rule" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="idref" nullable="true" remarks="The reference of the rule" size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="rulesystem" nullable="true" remarks="The name of the rule system" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="hostname" nullable="true" remarks="The hostname that identifies this system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="ident" nullable="true" remarks="The CCE v5 id of this rule" size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="result" nullable="true" remarks="The result of the scan for this rule" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="10" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="system" remarks="The list of systems managed by a SUSE Multi-Linux Manager instance" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <child column="mgm_id" foreignKey="systemaction_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemaction"/>
            <child column="mgm_id" foreignKey="systemchannel_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemchannel"/>
            <child column="mgm_id" foreignKey="systemconfigchannel_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemconfigchannel"/>
            <child column="mgm_id" foreignKey="systemcustominfo" implied="false" onDeleteCascade="false" schema="public" table="systemcustominfo"/>
            <child column="mgm_id" foreignKey="systementitlement_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systementitlement"/>
            <child column="mgm_id" foreignKey="systemerrata_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemerrata"/>
            <child column="mgm_id" foreignKey="systemgroupmember_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemgroupmember"/>
            <child column="mgm_id" foreignKey="systemhistory_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemhistory"/>
            <child column="mgm_id" foreignKey="systemnetinterface_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetinterface"/>
            <child column="mgm_id" foreignKey="systemoutdated_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemoutdated"/>
            <child column="mgm_id" foreignKey="systempackageinstalled_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systempackageinstalled"/>
            <child column="mgm_id" foreignKey="systempackageupdate_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systempackageupdate"/>
            <child column="mgm_id" foreignKey="systemvirtualdata_virtual_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemvirtualdata"/>
            <child column="mgm_id" foreignKey="xccdscanresult_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="xccdscanresult"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <child column="system_id" foreignKey="systemaction_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemaction"/>
            <child column="system_id" foreignKey="systemchannel_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemchannel"/>
            <child column="system_id" foreignKey="systemconfigchannel_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemconfigchannel"/>
            <child column="system_id" foreignKey="systemcustominfo" implied="false" onDeleteCascade="false" schema="public" table="systemcustominfo"/>
            <child column="system_id" foreignKey="systementitlement_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systementitlement"/>
            <child column="system_id" foreignKey="systemerrata_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemerrata"/>
            <child column="system_id" foreignKey="systemgroupmember_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemgroupmember"/>
            <child column="system_id" foreignKey="systemhistory_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemhistory"/>
            <child column="system_id" foreignKey="systemnetinterface_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetinterface"/>
            <child column="system_id" foreignKey="systemoutdated_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemoutdated"/>
            <child column="system_id" foreignKey="systempackageinstalled_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systempackageinstalled"/>
            <child column="system_id" foreignKey="systempackageupdate_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systempackageupdate"/>
            <child column="host_system_id" foreignKey="systemvirtualdata_host_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemvirtualdata"/>
            <child column="virtual_system_id" foreignKey="systemvirtualdata_virtual_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemvirtualdata"/>
            <child column="system_id" foreignKey="xccdscanresult_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="xccdscanresult"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="profile_name" nullable="true" remarks="The unique descriptive name of the system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="hostname" nullable="true" remarks="The hostname that identifies this system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="minion_id" nullable="true" remarks="The identifier of the minion, if the system is a Salt Minion" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="minion_os_family" nullable="true" remarks="The family of the operating system, if the system is a Salt Minion" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="minion_kernel_live_version" nullable="true" remarks="The current live kernel version, if the system is a Salt Minion" size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="machine_id" nullable="true" remarks="The identifier of the machine" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="registered_by" nullable="true" remarks="The user account who onboarded this system" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="registration_time" nullable="true" remarks="When this system was onboarded" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="10" name="last_checkin_time" nullable="true" remarks="When this system was visible and reachable last time" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="kernel_version" nullable="true" remarks="The version of the kernel installed on this system" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="architecture" nullable="true" remarks="The architecture of the system" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="13" name="is_proxy" nullable="false" remarks="True if this system is a SUSE Multi-Linux Manager Proxy instance" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="proxy_system_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager proxy that this system is connected to, if any" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="15" name="is_mgr_server" nullable="false" remarks="True of this system is a SUSE Multi-Linux Manager instance" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="16" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="17" name="hardware" nullable="true" remarks="A brief description of the hardware specification of this system" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="18" name="machine" nullable="true" remarks="The machine on which this system is located" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="19" name="rack" nullable="true" remarks="The rack on which this system is located" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="20" name="room" nullable="true" remarks="The room where this system is located" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="21" name="building" nullable="true" remarks="The building where this system is located" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="22" name="address1" nullable="true" remarks="The first row of the address where this system is located" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="23" name="address2" nullable="true" remarks="The second row of the address where this system is located" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="24" name="city" nullable="true" remarks="The city where this system is located" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="25" name="state" nullable="true" remarks="The state where this system is located" size="60" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="26" name="country" nullable="true" remarks="The country where this system is located" size="2" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="27" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_id" sequenceNumberInPK="2"/>
         <index name="system_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
         </index>
         <index name="system_profile_name_idx" unique="false">
            <column ascending="true" name="profile_name"/>
         </index>
         <checkConstraint constraint="(((address1)::text &lt;&gt; ''::text))" name="vn_system_address1"/>
         <checkConstraint constraint="(((address2)::text &lt;&gt; ''::text))" name="vn_system_address2"/>
         <checkConstraint constraint="(((architecture)::text &lt;&gt; ''::text))" name="vn_system_architecture"/>
         <checkConstraint constraint="(((building)::text &lt;&gt; ''::text))" name="vn_system_building"/>
         <checkConstraint constraint="(((city)::text &lt;&gt; ''::text))" name="vn_system_city"/>
         <checkConstraint constraint="(((country)::text &lt;&gt; ''::text))" name="vn_system_country"/>
         <checkConstraint constraint="(((hostname)::text &lt;&gt; ''::text))" name="vn_system_hostname"/>
         <checkConstraint constraint="(((kernel_version)::text &lt;&gt; ''::text))" name="vn_system_kernel_version"/>
         <checkConstraint constraint="(((machine)::text &lt;&gt; ''::text))" name="vn_system_machine"/>
         <checkConstraint constraint="(((machine_id)::text &lt;&gt; ''::text))" name="vn_system_machine_id"/>
         <checkConstraint constraint="(((minion_id)::text &lt;&gt; ''::text))" name="vn_system_minion_id"/>
         <checkConstraint constraint="(((minion_kernel_live_version)::text &lt;&gt; ''::text))" name="vn_system_minion_kernel_live_version"/>
         <checkConstraint constraint="(((minion_os_family)::text &lt;&gt; ''::text))" name="vn_system_minion_os_family"/>
         <checkConstraint constraint="(((organization)::text &lt;&gt; ''::text))" name="vn_system_organization"/>
         <checkConstraint constraint="(((profile_name)::text &lt;&gt; ''::text))" name="vn_system_profile_name"/>
         <checkConstraint constraint="(((rack)::text &lt;&gt; ''::text))" name="vn_system_rack"/>
         <checkConstraint constraint="(((registered_by)::text &lt;&gt; ''::text))" name="vn_system_registered_by"/>
         <checkConstraint constraint="(((room)::text &lt;&gt; ''::text))" name="vn_system_room"/>
         <checkConstraint constraint="(((state)::text &lt;&gt; ''::text))" name="vn_system_state"/>
      </table>
      <table name="systemaction" remarks="The list of the actions performed on a system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <child column="mgm_id" foreignKey="cocoattestation_system_action_fkey" implied="false" onDeleteCascade="false" schema="public" table="cocoattestation"/>
            <child column="mgm_id" foreignKey="xccdscan_system_action_fkey" implied="false" onDeleteCascade="false" schema="public" table="xccdscan"/>
            <parent column="mgm_id" foreignKey="systemaction_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <child column="system_id" foreignKey="cocoattestation_system_action_fkey" implied="false" onDeleteCascade="false" schema="public" table="cocoattestation"/>
            <child column="system_id" foreignKey="xccdscan_system_action_fkey" implied="false" onDeleteCascade="false" schema="public" table="xccdscan"/>
            <parent column="system_id" foreignKey="systemaction_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="action_id" nullable="false" remarks="The id of the action" size="0" type="numeric" typeCode="2">
            <child column="action_id" foreignKey="cocoattestation_system_action_fkey" implied="false" onDeleteCascade="false" schema="public" table="cocoattestation"/>
            <child column="action_id" foreignKey="xccdscan_system_action_fkey" implied="false" onDeleteCascade="false" schema="public" table="xccdscan"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="hostname" nullable="true" remarks="The hostname of the system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="scheduler_id" nullable="true" remarks="The id of the account who scheduled the action" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="scheduler_username" nullable="true" remarks="The username of the account who scheduled the action" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="earliest_action" nullable="true" remarks="The earliest time this action was schedule for execution" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="archived" nullable="true" remarks="True if the action is archived" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="pickup_time" nullable="true" remarks="When this action was picked up by the scheduling system" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="completion_time" nullable="true" remarks="When this action was completed" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="action_name" nullable="true" remarks="The name of the action" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="status" nullable="true" remarks="The current status of the action. Possible values Queued, Picked Up, Completed, Failed" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="event" nullable="true" remarks="The type of event triggered by this action" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="event_data" nullable="true" remarks="Additional information related to the event triggered by this action" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="14" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_id" sequenceNumberInPK="2"/>
         <primaryKey column="action_id" sequenceNumberInPK="3"/>
         <index name="systemaction_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
            <column ascending="true" name="action_id"/>
         </index>
         <checkConstraint constraint="(((action_name)::text &lt;&gt; ''::text))" name="vn_systemaction_action_name"/>
         <checkConstraint constraint="(((event)::text &lt;&gt; ''::text))" name="vn_systemaction_event"/>
         <checkConstraint constraint="(((hostname)::text &lt;&gt; ''::text))" name="vn_systemaction_hostname"/>
         <checkConstraint constraint="(((scheduler_username)::text &lt;&gt; ''::text))" name="vn_systemaction_scheduler_username"/>
         <checkConstraint constraint="(((status)::text &lt;&gt; ''::text))" name="vn_systemaction_status"/>
      </table>
      <table name="systemchannel" remarks="The list of channels a system is subscribed to" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systemchannel_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channel"/>
            <parent column="mgm_id" foreignKey="systemchannel_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systemchannel_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="channel_id" nullable="false" remarks="The id of the channel" size="0" type="numeric" typeCode="2">
            <parent column="channel_id" foreignKey="systemchannel_channel_fkey" implied="false" onDeleteCascade="false" schema="public" table="channel"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="name" nullable="true" remarks="The name of the channel" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="description" nullable="true" remarks="A detailed description of the channel scope and purpose" size="4000" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="architecture_name" nullable="true" remarks="The architecture of the packages hold by this channel" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="parent_channel_id" nullable="true" remarks="The id of the parent of this channel, if exists" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="parent_channel_name" nullable="true" remarks="The name of the parent of this channel, if exists" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="8" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_id" sequenceNumberInPK="2"/>
         <primaryKey column="channel_id" sequenceNumberInPK="3"/>
         <index name="systemchannel_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
            <column ascending="true" name="channel_id"/>
         </index>
         <checkConstraint constraint="(((architecture_name)::text &lt;&gt; ''::text))" name="vn_systemchannel_architecture_name"/>
         <checkConstraint constraint="(((description)::text &lt;&gt; ''::text))" name="vn_systemchannel_description"/>
         <checkConstraint constraint="(((name)::text &lt;&gt; ''::text))" name="vn_systemchannel_name"/>
         <checkConstraint constraint="(((parent_channel_name)::text &lt;&gt; ''::text))" name="vn_systemchannel_parent_channel_name"/>
      </table>
      <table name="systemconfigchannel" remarks="The list of configuration channels a system is subscribed to" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systemconfigchannel_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systemconfigchannel_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="config_channel_id" nullable="false" remarks="The id of the configuration channel" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="name" nullable="true" remarks="The name of the configuration channel" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="position" nullable="true" remarks="The rank of the subscription" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="5" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_id" sequenceNumberInPK="2"/>
         <primaryKey column="config_channel_id" sequenceNumberInPK="3"/>
         <index name="systemconfigchannel_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
            <column ascending="true" name="config_channel_id"/>
         </index>
         <checkConstraint constraint="(((name)::text &lt;&gt; ''::text))" name="vn_systemconfigchannel_name"/>
      </table>
      <table name="systemcustominfo" remarks="List custom pieces of information related to a system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systemcustominfo" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systemcustominfo" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="organization" nullable="false" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="key" nullable="false" remarks="The name of the custom information" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="description" nullable="true" remarks="A brief description of this information" size="4000" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="value" nullable="true" remarks="The actual value of the custom information" size="4000" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="6" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="organization" sequenceNumberInPK="2"/>
         <primaryKey column="system_id" sequenceNumberInPK="3"/>
         <primaryKey column="key" sequenceNumberInPK="4"/>
         <index name="systemcustominfo_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="organization"/>
            <column ascending="true" name="system_id"/>
            <column ascending="true" name="key"/>
         </index>
         <checkConstraint constraint="(((description)::text &lt;&gt; ''::text))" name="vn_systemcustominfo_description"/>
         <checkConstraint constraint="(((key)::text &lt;&gt; ''::text))" name="vn_systemcustominfo_key"/>
         <checkConstraint constraint="(((organization)::text &lt;&gt; ''::text))" name="vn_systemcustominfo_organization"/>
         <checkConstraint constraint="(((value)::text &lt;&gt; ''::text))" name="vn_systemcustominfo_value"/>
      </table>
      <table name="systementitlement" remarks="Lists the entitlements of a system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systementitlement_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systementitlement_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="system_group_id" nullable="false" remarks="The id of this entitlement group" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="name" nullable="true" remarks="The name of this entitlement" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="description" nullable="true" remarks="The description this entitlement" size="1024" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="group_type" nullable="true" remarks="The id of the type of entitlement" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="group_type_name" nullable="true" remarks="The name of the type of entitlement" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="current_members" nullable="true" remarks="The current number of members of this entitlement" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="9" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_id" sequenceNumberInPK="2"/>
         <primaryKey column="system_group_id" sequenceNumberInPK="3"/>
         <index name="systementitlement_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
            <column ascending="true" name="system_group_id"/>
         </index>
         <checkConstraint constraint="(((description)::text &lt;&gt; ''::text))" name="vn_systementitlement_description"/>
         <checkConstraint constraint="(((group_type_name)::text &lt;&gt; ''::text))" name="vn_systementitlement_group_type_name"/>
         <checkConstraint constraint="(((name)::text &lt;&gt; ''::text))" name="vn_systementitlement_name"/>
         <checkConstraint constraint="(((organization)::text &lt;&gt; ''::text))" name="vn_systementitlement_organization"/>
      </table>
      <table name="systemerrata" remarks="The list of patches applicable to a system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systemerrata_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
            <parent column="mgm_id" foreignKey="systemerrata_errata_fkey" implied="false" onDeleteCascade="false" schema="public" table="errata"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systemerrata_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="errata_id" nullable="false" remarks="The id of the patch" size="0" type="numeric" typeCode="2">
            <parent column="errata_id" foreignKey="systemerrata_errata_fkey" implied="false" onDeleteCascade="false" schema="public" table="errata"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="hostname" nullable="true" remarks="The hostname that identifies the system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="advisory_name" nullable="true" remarks="The unique name of the advisory" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="advisory_type" nullable="true" remarks="The type of patch. Possible values: Product Enhancement Advisory, Security Advisory, Bug Fix Advisory" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="6" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_id" sequenceNumberInPK="2"/>
         <primaryKey column="errata_id" sequenceNumberInPK="3"/>
         <index name="systemerrata_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
            <column ascending="true" name="errata_id"/>
         </index>
         <checkConstraint constraint="(((advisory_name)::text &lt;&gt; ''::text))" name="vn_systemerrata_advisory_name"/>
         <checkConstraint constraint="(((advisory_type)::text &lt;&gt; ''::text))" name="vn_systemerrata_advisory_type"/>
         <checkConstraint constraint="(((hostname)::text &lt;&gt; ''::text))" name="vn_systemerrata_hostname"/>
      </table>
      <table name="systemextrapackagesreport" numRows="0" remarks="List all packages installed on a system that are not available from any of the channels the system is subscribed to" schema="public" type="VIEW" viewSql=" WITH packages_from_channels AS (&#10;         SELECT systempackageinstalled_1.mgm_id,&#10;            systempackageinstalled_1.system_id,&#10;            package.package_id,&#10;            systempackageinstalled_1.name,&#10;            systempackageinstalled_1.epoch,&#10;            systempackageinstalled_1.version,&#10;            systempackageinstalled_1.release,&#10;            systempackageinstalled_1.arch,&#10;            systempackageinstalled_1.type&#10;           FROM (((systempackageinstalled systempackageinstalled_1&#10;             JOIN systemchannel ON (((systempackageinstalled_1.mgm_id = systemchannel.mgm_id) AND (systempackageinstalled_1.system_id = systemchannel.system_id))))&#10;             JOIN channelpackage ON (((systemchannel.mgm_id = channelpackage.mgm_id) AND (channelpackage.channel_id = systemchannel.channel_id))))&#10;             JOIN package ON (((systempackageinstalled_1.mgm_id = package.mgm_id) AND (channelpackage.package_id = package.package_id) AND ((package.name)::text = (systempackageinstalled_1.name)::text) AND ((COALESCE(package.epoch, ''::character varying))::text = (COALESCE(systempackageinstalled_1.epoch, ''::character varying))::text) AND ((package.version)::text = (systempackageinstalled_1.version)::text) AND ((package.release)::text = (systempackageinstalled_1.release)::text) AND ((package.arch)::text = (systempackageinstalled_1.arch)::text))))&#10;        )&#10; SELECT system.mgm_id,&#10;    system.system_id,&#10;    system.hostname AS system_name,&#10;    system.organization,&#10;    systempackageinstalled.name AS package_name,&#10;    systempackageinstalled.epoch AS package_epoch,&#10;    systempackageinstalled.version AS package_version,&#10;    systempackageinstalled.release AS package_release,&#10;    systempackageinstalled.arch AS package_arch,&#10;    systempackageinstalled.synced_date&#10;   FROM ((system&#10;     JOIN systempackageinstalled ON (((system.mgm_id = systempackageinstalled.mgm_id) AND (system.system_id = systempackageinstalled.system_id))))&#10;     LEFT JOIN packages_from_channels ON (((systempackageinstalled.mgm_id = packages_from_channels.mgm_id) AND (systempackageinstalled.system_id = packages_from_channels.system_id) AND ((systempackageinstalled.name)::text = (packages_from_channels.name)::text) AND ((COALESCE(systempackageinstalled.epoch, ''::character varying))::text = (COALESCE(packages_from_channels.epoch, ''::character varying))::text) AND ((systempackageinstalled.version)::text = (packages_from_channels.version)::text) AND ((systempackageinstalled.release)::text = (packages_from_channels.release)::text) AND ((systempackageinstalled.arch)::text = (packages_from_channels.arch)::text))))&#10;  WHERE (packages_from_channels.package_id IS NULL)&#10;  ORDER BY system.mgm_id, system.organization, system.system_id, systempackageinstalled.name;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="system_name" nullable="true" remarks="The unique descriptive name of the system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="package_name" nullable="true" remarks="The name of the package" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="package_epoch" nullable="true" remarks="The epoch of the package" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="package_version" nullable="true" remarks="The version number of the package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="package_release" nullable="true" remarks="The release number of the package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="package_arch" nullable="true" remarks="The architecture where this package is installable" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="systemgroup" remarks="The list of system groups managed by a SUSE Multi-Linux Manager instance" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <child column="mgm_id" foreignKey="systemgroupmember_group_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemgroupmember"/>
            <child column="mgm_id" foreignKey="systemgrouppermission_group_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemgrouppermission"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_group_id" nullable="false" remarks="The id of this system group" size="0" type="numeric" typeCode="2">
            <child column="system_group_id" foreignKey="systemgroupmember_group_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemgroupmember"/>
            <child column="system_group_id" foreignKey="systemgrouppermission_group_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemgrouppermission"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="true" remarks="The unique name of this system group" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="description" nullable="true" remarks="A brief description of this system group" size="1024" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="current_members" nullable="true" remarks="The current number of members of this system group" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="6" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_group_id" sequenceNumberInPK="2"/>
         <index name="systemgroup_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_group_id"/>
         </index>
         <checkConstraint constraint="(((description)::text &lt;&gt; ''::text))" name="vn_systemgroup_description"/>
         <checkConstraint constraint="(((name)::text &lt;&gt; ''::text))" name="vn_systemgroup_name"/>
         <checkConstraint constraint="(((organization)::text &lt;&gt; ''::text))" name="vn_systemgroup_organization"/>
      </table>
      <table name="systemgroupmember" remarks="The list of system group a system is member of" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systemgroupmember_group_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemgroup"/>
            <parent column="mgm_id" foreignKey="systemgroupmember_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systemgroupmember_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="system_group_id" nullable="false" remarks="The id of the system group" size="0" type="numeric" typeCode="2">
            <parent column="system_group_id" foreignKey="systemgroupmember_group_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemgroup"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="group_name" nullable="true" remarks="The unique name of the system group" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="system_name" nullable="true" remarks="The unique descriptive name of the system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="5" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_id" sequenceNumberInPK="2"/>
         <primaryKey column="system_group_id" sequenceNumberInPK="3"/>
         <index name="systemgroupmember_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
            <column ascending="true" name="system_group_id"/>
         </index>
         <checkConstraint constraint="(((group_name)::text &lt;&gt; ''::text))" name="vn_systemgroupmember_group_name"/>
         <checkConstraint constraint="(((system_name)::text &lt;&gt; ''::text))" name="vn_systemgroupmember_system_name"/>
      </table>
      <table name="systemgrouppermission" remarks="The list of additional user accounts allowed to access a system group" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systemgrouppermission_group_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemgroup"/>
            <parent column="mgm_id" foreignKey="systemgrouppermission_user_fkey" implied="false" onDeleteCascade="false" schema="public" table="account"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_group_id" nullable="false" remarks="The id of this system group" size="0" type="numeric" typeCode="2">
            <parent column="system_group_id" foreignKey="systemgrouppermission_group_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemgroup"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="account_id" nullable="false" remarks="The id of the user account" size="0" type="numeric" typeCode="2">
            <parent column="account_id" foreignKey="systemgrouppermission_user_fkey" implied="false" onDeleteCascade="false" schema="public" table="account"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="group_name" nullable="true" remarks="The unique name of the system group" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="4" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_group_id" sequenceNumberInPK="2"/>
         <primaryKey column="account_id" sequenceNumberInPK="3"/>
         <index name="systemgrouppermission_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_group_id"/>
            <column ascending="true" name="account_id"/>
         </index>
         <checkConstraint constraint="(((group_name)::text &lt;&gt; ''::text))" name="vn_systemgrouppermission_group_name"/>
      </table>
      <table name="systemgroupsreport" numRows="0" remarks="List of all available system groups" schema="public" type="VIEW" viewSql=" SELECT mgm_id,&#10;    system_group_id,&#10;    name,&#10;    current_members,&#10;    organization,&#10;    synced_date&#10;   FROM systemgroup&#10;  ORDER BY mgm_id, system_group_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_group_id" nullable="true" remarks="The id of this system group" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="true" remarks="The unique name of this system group" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="current_members" nullable="true" remarks="The current number of members of this system group" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="systemgroupssystemsreport" numRows="0" remarks="List of all systems which belongs to any system group" schema="public" type="VIEW" viewSql=" SELECT systemgroupmember.mgm_id,&#10;    systemgroupmember.system_group_id AS group_id,&#10;    systemgroupmember.group_name,&#10;    system.system_id,&#10;    system.profile_name AS system_name,&#10;    systemgroupmember.synced_date&#10;   FROM (systemgroupmember&#10;     JOIN system ON (((systemgroupmember.mgm_id = system.mgm_id) AND (systemgroupmember.system_id = system.system_id))))&#10;  ORDER BY systemgroupmember.mgm_id, systemgroupmember.system_group_id, systemgroupmember.system_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="group_id" nullable="true" remarks="The id of this system group" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="group_name" nullable="true" remarks="The unique name of this system group" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="system_name" nullable="true" remarks="The unique descriptive name of the system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="systemhistory" remarks="The history events associated to a system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systemhistory_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systemhistory_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="history_id" nullable="false" remarks="The id of the history event" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="hostname" nullable="true" remarks="The hostname that identifies the system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="event" nullable="true" remarks="The type of history event" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="event_data" nullable="true" remarks="Additional information related to the event" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="event_time" nullable="true" remarks="When this event has happened" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="7" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_id" sequenceNumberInPK="2"/>
         <primaryKey column="history_id" sequenceNumberInPK="3"/>
         <index name="systemhistory_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
            <column ascending="true" name="history_id"/>
         </index>
         <checkConstraint constraint="(((event)::text &lt;&gt; ''::text))" name="vn_systemhistory_event"/>
         <checkConstraint constraint="(((hostname)::text &lt;&gt; ''::text))" name="vn_systemhistory_hostname"/>
      </table>
      <table name="systemhistoryautoinstallationreport" numRows="0" remarks="Automatic installations event history." schema="public" type="VIEW" viewSql=" SELECT mgm_id,&#10;    system_id,&#10;    action_id,&#10;    earliest_action,&#10;    pickup_time,&#10;    completion_time,&#10;    status,&#10;    event,&#10;    event_data,&#10;    synced_date&#10;   FROM systemaction&#10;  WHERE ((event)::text = ANY ((ARRAY['Schedule a package sync for auto installations'::character varying, 'Initiate an auto installation'::character varying])::text[]))&#10;  ORDER BY mgm_id, system_id, action_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="action_id" nullable="true" remarks="The id of the action" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="earliest_action" nullable="true" remarks="The earliest time this action was scheduled for execution" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="4" name="pickup_time" nullable="true" remarks="When this action was selected for execution" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="completion_time" nullable="true" remarks="When this action was completed" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="status" nullable="true" remarks="The current status of the action. Possible values Queued, Picked Up, Completed, Failed" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="event" nullable="true" remarks="The type of event triggered by this action" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="event_data" nullable="true" remarks="Additional information related to the event triggered by this action" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="systemhistorychannelsreport" numRows="0" remarks="Channel event history." schema="public" type="VIEW" viewSql=" SELECT mgm_id,&#10;    system_id,&#10;    history_id,&#10;    event_time,&#10;    'Done'::text AS status,&#10;    event,&#10;    event_data,&#10;    synced_date&#10;   FROM systemhistory&#10;  WHERE ((event)::text = ANY ((ARRAY['Subscribed to channel'::character varying, 'Unsubscribed from channel'::character varying])::text[]))&#10;  ORDER BY mgm_id, system_id, history_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="history_id" nullable="true" remarks="The id of the history event" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="event_time" nullable="true" remarks="When this event has happened" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="status" nullable="true" remarks="The current status of the action. Possible values Queued, Picked Up, Completed, Failed" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="event" nullable="true" remarks="The type of history event" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="event_data" nullable="true" remarks="Additional information related to the event triggered by this action" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="systemhistoryconfigurationreport" numRows="0" remarks="Configuration event history." schema="public" type="VIEW" viewSql=" SELECT mgm_id,&#10;    system_id,&#10;    action_id,&#10;    earliest_action,&#10;    pickup_time,&#10;    completion_time,&#10;    status,&#10;    event,&#10;    event_data,&#10;    synced_date&#10;   FROM systemaction&#10;  WHERE ((event)::text = ANY ((ARRAY['Upload config file data to server'::character varying, 'Verify deployed config files'::character varying, 'Show differences between profiled config files and deployed config files'::character varying, 'Upload config file data based upon mtime to server'::character varying, 'Deploy config files to system'::character varying])::text[]))&#10;  ORDER BY mgm_id, system_id, action_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="action_id" nullable="true" remarks="The id of the action" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="earliest_action" nullable="true" remarks="The earliest time this action was scheduled for execution" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="4" name="pickup_time" nullable="true" remarks="When this action was selected for execution" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="completion_time" nullable="true" remarks="When this action was completed" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="status" nullable="true" remarks="The current status of the action. Possible values Queued, Picked Up, Completed, Failed" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="event" nullable="true" remarks="The type of event triggered by this action" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="event_data" nullable="true" remarks="Additional information related to the event triggered by this action" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="systemhistoryentitlementsreport" numRows="0" remarks="System entitlement event history." schema="public" type="VIEW" viewSql=" SELECT mgm_id,&#10;    system_id,&#10;    history_id,&#10;    event_time,&#10;    'Done'::text AS status,&#10;    event,&#10;    event_data,&#10;    synced_date&#10;   FROM systemhistory&#10;  WHERE ((event)::text &lt;&gt; ALL ((ARRAY['Subscribed to channel'::character varying, 'Unsubscribed from channel'::character varying])::text[]))&#10;  ORDER BY mgm_id, system_id, history_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="history_id" nullable="true" remarks="The id of the history event" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="event_time" nullable="true" remarks="When this event has happened" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="status" nullable="true" remarks="The current status of the action. Possible values Queued, Picked Up, Completed, Failed" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="event" nullable="true" remarks="The type of history event" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="event_data" nullable="true" remarks="Additional information related to the event triggered by this action" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="7" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="systemhistoryerratareport" numRows="0" remarks="Patch event history." schema="public" type="VIEW" viewSql=" SELECT mgm_id,&#10;    system_id,&#10;    action_id,&#10;    earliest_action,&#10;    pickup_time,&#10;    completion_time,&#10;    status,&#10;    event,&#10;    event_data,&#10;    synced_date&#10;   FROM systemaction&#10;  WHERE ((event)::text = 'Patch Update'::text)&#10;  ORDER BY mgm_id, system_id, action_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="action_id" nullable="true" remarks="The id of the action" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="earliest_action" nullable="true" remarks="The earliest time this action was scheduled for execution" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="4" name="pickup_time" nullable="true" remarks="When this action was selected for execution" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="completion_time" nullable="true" remarks="When this action was completed" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="status" nullable="true" remarks="The current status of the action. Possible values Queued, Picked Up, Completed, Failed" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="event" nullable="true" remarks="The type of event triggered by this action" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="event_data" nullable="true" remarks="Additional information related to the event triggered by this action" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="systemhistorypackagesreport" numRows="0" remarks="Package event history." schema="public" type="VIEW" viewSql=" SELECT mgm_id,&#10;    system_id,&#10;    action_id,&#10;    earliest_action,&#10;    pickup_time,&#10;    completion_time,&#10;    status,&#10;    event,&#10;    event_data,&#10;    synced_date&#10;   FROM systemaction&#10;  WHERE ((event)::text = ANY ((ARRAY['Package Upgrade'::character varying, 'Package Removal'::character varying])::text[]))&#10;  ORDER BY mgm_id, system_id, action_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="action_id" nullable="true" remarks="The id of the action" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="earliest_action" nullable="true" remarks="The earliest time this action was scheduled for execution" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="4" name="pickup_time" nullable="true" remarks="When this action was selected for execution" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="completion_time" nullable="true" remarks="When this action was completed" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="status" nullable="true" remarks="The current status of the action. Possible values Queued, Picked Up, Completed, Failed" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="event" nullable="true" remarks="The type of event triggered by this action" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="event_data" nullable="true" remarks="Additional information related to the event triggered by this action" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="systemhistoryscapreport" numRows="0" remarks="OpenSCAP event history." schema="public" type="VIEW" viewSql=" SELECT mgm_id,&#10;    system_id,&#10;    action_id,&#10;    earliest_action,&#10;    pickup_time,&#10;    completion_time,&#10;    status,&#10;    event,&#10;    event_data,&#10;    synced_date&#10;   FROM systemaction&#10;  WHERE ((event)::text = 'OpenSCAP xccdf scanning'::text)&#10;  ORDER BY mgm_id, system_id, action_id;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="action_id" nullable="true" remarks="The id of the action" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="3" name="earliest_action" nullable="true" remarks="The earliest time this action was scheduled for execution" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="4" name="pickup_time" nullable="true" remarks="When this action was selected for execution" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="completion_time" nullable="true" remarks="When this action was completed" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="status" nullable="true" remarks="The current status of the action. Possible values Queued, Picked Up, Completed, Failed" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="event" nullable="true" remarks="The type of event triggered by this action" size="100" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="event_data" nullable="true" remarks="Additional information related to the event triggered by this action" size="2147483647" type="text" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="systeminactivityreport" numRows="0" remarks="List of the inactivity period of all systems." schema="public" type="VIEW" viewSql=" SELECT mgm_id,&#10;    system_id,&#10;    profile_name AS system_name,&#10;    organization,&#10;    last_checkin_time,&#10;    (synced_date - last_checkin_time) AS inactivity,&#10;    synced_date&#10;   FROM system&#10;  ORDER BY mgm_id, system_id, organization;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="system_name" nullable="true" remarks="The unique descriptive name of the system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="4" name="last_checkin_time" nullable="true" remarks="When this system was visible and reachable last time" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="5" name="inactivity" nullable="true" remarks="The period of inactivity" size="49" type="interval" typeCode="1111"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="6" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="systemnetaddressv4" remarks="The list of IPv4 address associated to a system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systemnetaddressv4_interface_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetinterface"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systemnetaddressv4_interface_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetinterface"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="interface_id" nullable="false" remarks="The id of the network interface" size="0" type="numeric" typeCode="2">
            <parent column="interface_id" foreignKey="systemnetaddressv4_interface_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetinterface"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="address" nullable="false" remarks="The IPv4 address of the system" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="netmask" nullable="true" remarks="The netmask associated to this address" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="broadcast" nullable="true" remarks="The broadcast address associated to the network of this IPv4 host address" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="6" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_id" sequenceNumberInPK="2"/>
         <primaryKey column="interface_id" sequenceNumberInPK="3"/>
         <primaryKey column="address" sequenceNumberInPK="4"/>
         <index name="systemnetaddressv4_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
            <column ascending="true" name="interface_id"/>
            <column ascending="true" name="address"/>
         </index>
         <checkConstraint constraint="(((address)::text &lt;&gt; ''::text))" name="vn_systemnetaddressv4_address"/>
         <checkConstraint constraint="(((broadcast)::text &lt;&gt; ''::text))" name="vn_systemnetaddressv4_broadcast"/>
         <checkConstraint constraint="(((netmask)::text &lt;&gt; ''::text))" name="vn_systemnetaddressv4_netmask"/>
      </table>
      <table name="systemnetaddressv6" remarks="The list of IPv6 address associated to a system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systemnetaddressv6_interface_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetinterface"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systemnetaddressv6_interface_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetinterface"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="interface_id" nullable="false" remarks="The id of the network interface" size="0" type="numeric" typeCode="2">
            <parent column="interface_id" foreignKey="systemnetaddressv6_interface_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetinterface"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="scope" nullable="false" remarks="The scope of this IPv6 address" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="address" nullable="false" remarks="The IPv6 address of the system" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="netmask" nullable="true" remarks="The netmask associated to this address" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="6" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_id" sequenceNumberInPK="2"/>
         <primaryKey column="interface_id" sequenceNumberInPK="3"/>
         <primaryKey column="scope" sequenceNumberInPK="4"/>
         <primaryKey column="address" sequenceNumberInPK="5"/>
         <index name="systemnetaddressv6_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
            <column ascending="true" name="interface_id"/>
            <column ascending="true" name="scope"/>
            <column ascending="true" name="address"/>
         </index>
         <checkConstraint constraint="(((address)::text &lt;&gt; ''::text))" name="vn_systemnetaddressv6_address"/>
         <checkConstraint constraint="(((netmask)::text &lt;&gt; ''::text))" name="vn_systemnetaddressv6_netmask"/>
         <checkConstraint constraint="(((scope)::text &lt;&gt; ''::text))" name="vn_systemnetaddressv6_scope"/>
      </table>
      <table name="systemnetinterface" remarks="The list of network interfaces installed on a system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <child column="mgm_id" foreignKey="systemnetaddressv4_interface_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetaddressv4"/>
            <child column="mgm_id" foreignKey="systemnetaddressv6_interface_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetaddressv6"/>
            <parent column="mgm_id" foreignKey="systemnetinterface_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <child column="system_id" foreignKey="systemnetaddressv4_interface_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetaddressv4"/>
            <child column="system_id" foreignKey="systemnetaddressv6_interface_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetaddressv6"/>
            <parent column="system_id" foreignKey="systemnetinterface_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="interface_id" nullable="false" remarks="The id of the network interface" size="0" type="numeric" typeCode="2">
            <child column="interface_id" foreignKey="systemnetaddressv4_interface_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetaddressv4"/>
            <child column="interface_id" foreignKey="systemnetaddressv6_interface_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemnetaddressv6"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="name" nullable="true" remarks="The unique name of the interface" size="32" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="hardware_address" nullable="true" remarks="the MAC address of this network interface" size="96" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="module" nullable="true" remarks="The module of this network interface" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="6" name="primary_interface" nullable="false" remarks="True if the interface is marked as primary for this system" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="7" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_id" sequenceNumberInPK="2"/>
         <primaryKey column="interface_id" sequenceNumberInPK="3"/>
         <index name="systemnetinterface_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
            <column ascending="true" name="interface_id"/>
         </index>
         <checkConstraint constraint="(((hardware_address)::text &lt;&gt; ''::text))" name="vn_systemnetinterface_hardware_address"/>
         <checkConstraint constraint="(((module)::text &lt;&gt; ''::text))" name="vn_systemnetinterface_module"/>
         <checkConstraint constraint="(((name)::text &lt;&gt; ''::text))" name="vn_systemnetinterface_name"/>
      </table>
      <table name="systemoutdated" remarks="The summary of the packages and the patches out-of-date for a system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systemoutdated_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systemoutdated_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="packages_out_of_date" nullable="true" remarks="The number of outdated packages installed on this system" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="errata_out_of_date" nullable="true" remarks="The number of outdated patches associated to this system" size="19" type="int8" typeCode="-5"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="4" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_id" sequenceNumberInPK="2"/>
         <index name="systemoutdated_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
         </index>
      </table>
      <table name="systempackageinstalled" remarks="The list of the packages installed on a system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systempackageinstalled_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systempackageinstalled_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="name" nullable="true" remarks="The name of the package" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="epoch" nullable="true" remarks="The epoch of the package" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="version" nullable="true" remarks="The version number of the package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="release" nullable="true" remarks="The release number of the package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="arch" nullable="true" remarks="The architecture where the package is installed" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="type" nullable="true" remarks="The type of the package. Possible values: rpm, deb" size="10" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="8" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <index name="systempackageinstalled_order_idx" unique="false">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
            <column ascending="true" name="name"/>
            <column ascending="true" name="epoch"/>
            <column ascending="true" name="version"/>
            <column ascending="true" name="release"/>
            <column ascending="true" name="arch"/>
            <column ascending="true" name="type"/>
         </index>
         <checkConstraint constraint="(((arch)::text &lt;&gt; ''::text))" name="vn_systempackageinstalled_arch"/>
         <checkConstraint constraint="(((epoch)::text &lt;&gt; ''::text))" name="vn_systempackageinstalled_epoch"/>
         <checkConstraint constraint="(((name)::text &lt;&gt; ''::text))" name="vn_systempackageinstalled_name"/>
         <checkConstraint constraint="(((release)::text &lt;&gt; ''::text))" name="vn_systempackageinstalled_release"/>
         <checkConstraint constraint="(((type)::text &lt;&gt; ''::text))" name="vn_systempackageinstalled_type"/>
         <checkConstraint constraint="(((version)::text &lt;&gt; ''::text))" name="vn_systempackageinstalled_version"/>
      </table>
      <table name="systempackagesinstalledreport" numRows="0" remarks="List of all packages for all systems." schema="public" type="VIEW" viewSql=" SELECT systempackageinstalled.mgm_id,&#10;    systempackageinstalled.system_id,&#10;    system.organization,&#10;    systempackageinstalled.name AS package_name,&#10;    systempackageinstalled.epoch AS package_epoch,&#10;    systempackageinstalled.version AS package_version,&#10;    systempackageinstalled.release AS package_release,&#10;    systempackageinstalled.arch AS package_arch,&#10;    systempackageinstalled.synced_date&#10;   FROM (systempackageinstalled&#10;     JOIN system ON ((system.system_id = systempackageinstalled.system_id)))&#10;  ORDER BY systempackageinstalled.mgm_id, systempackageinstalled.system_id, systempackageinstalled.name;">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="true" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="true" remarks="The id of the system" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="organization" nullable="true" remarks="The organization that owns this data" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="package_name" nullable="true" remarks="The name of the package" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="package_epoch" nullable="true" remarks="The epoch of the package" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="package_version" nullable="true" remarks="The version number of the package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="package_release" nullable="true" remarks="The release number of the package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="package_arch" nullable="true" remarks="The architecture where the package is installable" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="8" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
      </table>
      <table name="systempackageupdate" remarks="The list of packages that can be updated for a system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systempackageupdate_package_fkey" implied="false" onDeleteCascade="false" schema="public" table="package"/>
            <parent column="mgm_id" foreignKey="systempackageupdate_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systempackageupdate_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="package_id" nullable="false" remarks="The id of the package" size="0" type="numeric" typeCode="2">
            <parent column="package_id" foreignKey="systempackageupdate_package_fkey" implied="false" onDeleteCascade="false" schema="public" table="package"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="name" nullable="true" remarks="The name of the package" size="256" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="epoch" nullable="true" remarks="The epoch of the package" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="version" nullable="true" remarks="The version number of the package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="release" nullable="true" remarks="The release number of the package" size="512" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="arch" nullable="true" remarks="The architecture where the package is installed" size="64" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="type" nullable="true" remarks="The type of the package. Possible values: rpm, deb" size="10" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="false" digits="0" id="9" name="is_latest" nullable="false" remarks="True, if this package is the latest version" size="1" type="bool" typeCode="-7"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="10" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="system_id" sequenceNumberInPK="2"/>
         <primaryKey column="package_id" sequenceNumberInPK="3"/>
         <index name="systempackageupdate_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="system_id"/>
            <column ascending="true" name="package_id"/>
         </index>
         <checkConstraint constraint="(((arch)::text &lt;&gt; ''::text))" name="vn_systempackageupdate_arch"/>
         <checkConstraint constraint="(((epoch)::text &lt;&gt; ''::text))" name="vn_systempackageupdate_epoch"/>
         <checkConstraint constraint="(((name)::text &lt;&gt; ''::text))" name="vn_systempackageupdate_name"/>
         <checkConstraint constraint="(((release)::text &lt;&gt; ''::text))" name="vn_systempackageupdate_release"/>
         <checkConstraint constraint="(((type)::text &lt;&gt; ''::text))" name="vn_systempackageupdate_type"/>
         <checkConstraint constraint="(((version)::text &lt;&gt; ''::text))" name="vn_systempackageupdate_version"/>
      </table>
      <table name="systemvirtualdata" remarks="The list of virtual instances managed by a SUSE Multi-Linux Manager instance" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="systemvirtualdata_virtual_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="instance_id" nullable="false" remarks="The id of the virtual system instance" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="host_system_id" nullable="true" remarks="The id of the host system, if available" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systemvirtualdata_host_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="virtual_system_id" nullable="true" remarks="The id of the virtual system, if available" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="systemvirtualdata_virtual_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="name" nullable="true" remarks="The name of this virtual system" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="instance_type_name" nullable="true" remarks="The type of virtualization" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="vcpus" nullable="true" remarks="The number of virtual CPUs" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="memory_size" nullable="true" remarks="The available memory in megabytes" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="uuid" nullable="true" remarks="The universally unique identifier of this virtual instance" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="9" name="confirmed" nullable="true" remarks="1 if this virtual instance is confirmed" size="1" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="state_name" nullable="true" remarks="The current state of this virtual instance" size="128" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="11" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="instance_id" sequenceNumberInPK="2"/>
         <index name="systemvirtualdata_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="instance_id"/>
         </index>
         <checkConstraint constraint="(((instance_type_name)::text &lt;&gt; ''::text))" name="vn_systemvirtualdata_instance_type_name"/>
         <checkConstraint constraint="(((name)::text &lt;&gt; ''::text))" name="vn_systemvirtualdata_name"/>
         <checkConstraint constraint="(((state_name)::text &lt;&gt; ''::text))" name="vn_systemvirtualdata_state_name"/>
         <checkConstraint constraint="(((uuid)::text &lt;&gt; ''::text))" name="vn_systemvirtualdata_uuid"/>
      </table>
      <table name="xccdscan" remarks="The list of SCAP scan performed on a system" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <child column="mgm_id" foreignKey="xccdscanresult_scan_fkey" implied="false" onDeleteCascade="false" schema="public" table="xccdscanresult"/>
            <parent column="mgm_id" foreignKey="xccdscan_system_action_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemaction"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="scan_id" nullable="false" remarks="The id of the security scan" size="0" type="numeric" typeCode="2">
            <child column="scan_id" foreignKey="xccdscanresult_scan_fkey" implied="false" onDeleteCascade="false" schema="public" table="xccdscanresult"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="xccdscan_system_action_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemaction"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="action_id" nullable="false" remarks="The id of the action that triggered the scan" size="0" type="numeric" typeCode="2">
            <parent column="action_id" foreignKey="xccdscan_system_action_fkey" implied="false" onDeleteCascade="false" schema="public" table="systemaction"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="name" nullable="true" remarks="The name of the scan" size="120" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="benchmark" nullable="true" remarks="The name of the performed benchmark" size="120" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="benchmark_version" nullable="true" remarks="The version of the benchmark" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="profile" nullable="true" remarks="The name of the profile used for the scan" size="120" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="profile_title" nullable="true" remarks="The descriptive title of the profile" size="120" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="6" id="9" name="end_time" nullable="true" remarks="When the scan has ended" size="35" type="timestamptz" typeCode="93"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="10" name="pass" nullable="true" remarks="The number of passed rules" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="11" name="fail" nullable="true" remarks="The number of failed rules" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="12" name="error" nullable="true" remarks="The number of erroneous rules" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="13" name="not_selected" nullable="true" remarks="The number of rules not selected for this scan" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="14" name="informational" nullable="true" remarks="The number of informational rules" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="15" name="other" nullable="true" remarks="The number of rules with other outcomes" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="16" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="scan_id" sequenceNumberInPK="2"/>
         <index name="xccdscan_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="scan_id"/>
         </index>
         <checkConstraint constraint="(((benchmark)::text &lt;&gt; ''::text))" name="vn_xccdscan_benchmark"/>
         <checkConstraint constraint="(((benchmark_version)::text &lt;&gt; ''::text))" name="vn_xccdscan_benchmark_version"/>
         <checkConstraint constraint="(((name)::text &lt;&gt; ''::text))" name="vn_xccdscan_name"/>
         <checkConstraint constraint="(((profile)::text &lt;&gt; ''::text))" name="vn_xccdscan_profile"/>
         <checkConstraint constraint="(((profile_title)::text &lt;&gt; ''::text))" name="vn_xccdscan_profile_title"/>
      </table>
      <table name="xccdscanresult" remarks="The list of results for a SCAP scan" schema="public" type="TABLE">
         <column autoUpdated="false" defaultValue="null" digits="0" id="0" name="mgm_id" nullable="false" remarks="The id of the SUSE Multi-Linux Manager instance that contains this data" size="0" type="numeric" typeCode="2">
            <parent column="mgm_id" foreignKey="xccdscanresult_scan_fkey" implied="false" onDeleteCascade="false" schema="public" table="xccdscan"/>
            <parent column="mgm_id" foreignKey="xccdscanresult_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="1" name="scan_id" nullable="false" remarks="The id of the security scan" size="0" type="numeric" typeCode="2">
            <parent column="scan_id" foreignKey="xccdscanresult_scan_fkey" implied="false" onDeleteCascade="false" schema="public" table="xccdscan"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="2" name="rule_id" nullable="false" remarks="The id of the rule result" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="3" name="ident_id" nullable="false" remarks="The id of the rule" size="0" type="numeric" typeCode="2"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="4" name="idref" nullable="true" remarks="The reference of the rule" size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="5" name="rulesystem" nullable="true" remarks="The name of the rule system" size="80" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="6" name="system_id" nullable="false" remarks="The id of the system" size="0" type="numeric" typeCode="2">
            <parent column="system_id" foreignKey="xccdscanresult_system_fkey" implied="false" onDeleteCascade="false" schema="public" table="system"/>
         </column>
         <column autoUpdated="false" defaultValue="null" digits="0" id="7" name="ident" nullable="true" remarks="The identifier of this rule" size="255" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="null" digits="0" id="8" name="result" nullable="true" remarks="The result of the scan for this rule" size="16" type="varchar" typeCode="12"/>
         <column autoUpdated="false" defaultValue="CURRENT_TIMESTAMP" digits="6" id="9" name="synced_date" nullable="true" remarks="The timestamp of when this data was last refreshed." size="35" type="timestamptz" typeCode="93"/>
         <primaryKey column="mgm_id" sequenceNumberInPK="1"/>
         <primaryKey column="scan_id" sequenceNumberInPK="2"/>
         <primaryKey column="rule_id" sequenceNumberInPK="3"/>
         <primaryKey column="ident_id" sequenceNumberInPK="4"/>
         <index name="xccdscanresult_pk" unique="true">
            <column ascending="true" name="mgm_id"/>
            <column ascending="true" name="scan_id"/>
            <column ascending="true" name="rule_id"/>
            <column ascending="true" name="ident_id"/>
         </index>
         <checkConstraint constraint="(((ident)::text &lt;&gt; ''::text))" name="vn_xccdscanresult_ident"/>
         <checkConstraint constraint="(((idref)::text &lt;&gt; ''::text))" name="vn_xccdscanresult_idref"/>
         <checkConstraint constraint="(((result)::text &lt;&gt; ''::text))" name="vn_xccdscanresult_result"/>
         <checkConstraint constraint="(((rulesystem)::text &lt;&gt; ''::text))" name="vn_xccdscanresult_rulesystem"/>
      </table>
   </tables>
</database>
