HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/magento/module-authorization/etc/db_schema.xml
<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
    <table name="authorization_role" resource="default" engine="innodb" comment="Admin Role Table">
        <column xsi:type="int" name="role_id" unsigned="true" nullable="false" identity="true"
                comment="Role ID"/>
        <column xsi:type="int" name="parent_id" unsigned="true" nullable="false" identity="false"
                default="0" comment="Parent Role ID"/>
        <column xsi:type="smallint" name="tree_level" unsigned="true" nullable="false" identity="false"
                default="0" comment="Role Tree Level"/>
        <column xsi:type="smallint" name="sort_order" unsigned="true" nullable="false" identity="false"
                default="0" comment="Role Sort Order"/>
        <column xsi:type="varchar" name="role_type" nullable="false" length="1" default="0" comment="Role Type"/>
        <column xsi:type="int" name="user_id" unsigned="true" nullable="false" identity="false" default="0"
                comment="User ID"/>
        <column xsi:type="varchar" name="user_type" nullable="true" length="16" comment="User Type"/>
        <column xsi:type="varchar" name="role_name" nullable="true" length="50" comment="Role Name"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="role_id"/>
        </constraint>
        <index referenceId="AUTHORIZATION_ROLE_PARENT_ID_SORT_ORDER" indexType="btree">
            <column name="parent_id"/>
            <column name="sort_order"/>
        </index>
        <index referenceId="AUTHORIZATION_ROLE_TREE_LEVEL" indexType="btree">
            <column name="tree_level"/>
        </index>
    </table>
    <table name="authorization_rule" resource="default" engine="innodb" comment="Admin Rule Table">
        <column xsi:type="int" name="rule_id" unsigned="true" nullable="false" identity="true"
                comment="Rule ID"/>
        <column xsi:type="int" name="role_id" unsigned="true" nullable="false" identity="false" default="0"
                comment="Role ID"/>
        <column xsi:type="varchar" name="resource_id" nullable="true" length="255" comment="Resource ID"/>
        <column xsi:type="varchar" name="privileges" nullable="true" length="20" comment="Privileges"/>
        <column xsi:type="varchar" name="permission" nullable="true" length="10" comment="Permission"/>
        <constraint xsi:type="primary" referenceId="PRIMARY">
            <column name="rule_id"/>
        </constraint>
        <constraint xsi:type="foreign" referenceId="AUTHORIZATION_RULE_ROLE_ID_AUTHORIZATION_ROLE_ROLE_ID"
                    table="authorization_rule" column="role_id" referenceTable="authorization_role"
                    referenceColumn="role_id" onDelete="CASCADE"/>
        <index referenceId="AUTHORIZATION_RULE_RESOURCE_ID_ROLE_ID" indexType="btree">
            <column name="resource_id"/>
            <column name="role_id"/>
        </index>
        <index referenceId="AUTHORIZATION_RULE_ROLE_ID_RESOURCE_ID" indexType="btree">
            <column name="role_id"/>
            <column name="resource_id"/>
        </index>
    </table>
</schema>