File: /var/www/vhost/disk-apps/magento.bikenow.co/vendor/magento/module-url-rewrite/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="url_rewrite" resource="default" engine="innodb" comment="Url Rewrites">
<column xsi:type="int" name="url_rewrite_id" unsigned="true" nullable="false" identity="true"
comment="Rewrite ID"/>
<column xsi:type="varchar" name="entity_type" nullable="false" length="32" comment="Entity type code"/>
<column xsi:type="int" name="entity_id" unsigned="true" nullable="false" identity="false"
comment="Entity ID"/>
<column xsi:type="varchar" name="request_path" nullable="true" length="255" comment="Request Path"/>
<column xsi:type="varchar" name="target_path" nullable="true" length="255" comment="Target Path"/>
<column xsi:type="smallint" name="redirect_type" unsigned="true" nullable="false" identity="false"
default="0" comment="Redirect Type"/>
<column xsi:type="smallint" name="store_id" unsigned="true" nullable="false" identity="false"
comment="Store ID"/>
<column xsi:type="varchar" name="description" nullable="true" length="255" comment="Description"/>
<column xsi:type="smallint" name="is_autogenerated" unsigned="true" nullable="false"
identity="false" default="0" comment="Is rewrite generated automatically flag"/>
<column xsi:type="varchar" name="metadata" nullable="true" length="255" comment="Meta data for url rewrite"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="url_rewrite_id"/>
</constraint>
<constraint xsi:type="unique" referenceId="URL_REWRITE_REQUEST_PATH_STORE_ID">
<column name="request_path"/>
<column name="store_id"/>
</constraint>
<index referenceId="URL_REWRITE_TARGET_PATH" indexType="btree">
<column name="target_path"/>
</index>
<index referenceId="URL_REWRITE_STORE_ID_ENTITY_ID" indexType="btree">
<column name="store_id"/>
<column name="entity_id"/>
</index>
<index referenceId="URL_REWRITE_ENTITY_ID" indexType="btree">
<column name="entity_id"/>
</index>
</table>
</schema>