|
Apache/2.4.41 (Ubuntu) Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) server ip : 62.171.164.128 | your ip : 127.0.0.1 safemode OFF > / home / dev2.destoffenstraat.com / app / code / Amasty / Geoip / etc / |
Filename | /home/dev2.destoffenstraat.com/app/code/Amasty/Geoip/etc/db_schema.xml |
Size | 3.53 kb |
Permission | rwxrwxrwx |
Owner | root : root |
Create time | 17-Aug-2025 10:26 |
Last modified | 23-Nov-2022 12:32 |
Last accessed | 23-Aug-2025 02:07 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
<?xml version="1.0"?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) 2022 Amasty (https://www.amasty.com)
* @package GeoIP Data for Magento 2 (System)
*/-->
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
<table name="amasty_geoip_block" resource="default" engine="innodb" comment="Amasty Geoip Block Table">
<column xsi:type="int" name="block_id" padding="10" unsigned="true" nullable="false" identity="true" comment="Block Id"/>
<column xsi:type="int" name="start_ip_num" padding="10" unsigned="true" nullable="false" identity="false" comment="Start Ip Num"/>
<column xsi:type="int" name="end_ip_num" padding="10" unsigned="true" nullable="false" identity="false" comment="End Ip Num"/>
<column xsi:type="int" name="geoip_loc_id" padding="10" unsigned="true" nullable="false" identity="false" comment="Geoip Loc Id"/>
<column xsi:type="text" name="postal_code" nullable="true" comment="Postal Code"/>
<column xsi:type="float" name="latitude" scale="0" precision="10" unsigned="false" nullable="true" comment="Latitude"/>
<column xsi:type="float" name="longitude" scale="0" precision="10" unsigned="false" nullable="true" comment="Longitude"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="block_id"/>
</constraint>
<index referenceId="AMASTY_GEOIP_BLOCK_GEOIP_LOC_ID" indexType="btree">
<column name="geoip_loc_id"/>
</index>
<index referenceId="AMASTY_GEOIP_BLOCK_START_IP_NUM_END_IP_NUM" indexType="btree">
<column name="start_ip_num"/>
<column name="end_ip_num"/>
</index>
</table>
<table name="amasty_geoip_location" resource="default" engine="innodb" comment="Amasty Geoip Location Table">
<column xsi:type="int" name="location_id" padding="10" unsigned="true" nullable="false" identity="true" comment="Location Id"/>
<column xsi:type="int" name="geoip_loc_id" padding="10" unsigned="true" nullable="false" identity="false" comment="Geoip Loc Id"/>
<column xsi:type="text" name="country" nullable="true" comment="Country"/>
<column xsi:type="text" name="city" nullable="true" comment="City"/>
<column xsi:type="text" name="region" nullable="true" comment="Region"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="location_id"/>
</constraint>
<index referenceId="AMASTY_GEOIP_LOCATION_GEOIP_LOC_ID" indexType="btree">
<column name="geoip_loc_id"/>
</index>
</table>
<table name="amasty_geoip_block_v6" resource="default" engine="innodb" comment="Amasty Geoip Block Table IpV6">
<column xsi:type="int" name="block_id" padding="10" unsigned="true" nullable="false" identity="true" comment="Block Id"/>
<column xsi:type="varchar" name="start_ip_num" nullable="false" length="40" comment="Start Ip Num"/>
<column xsi:type="varchar" name="end_ip_num" nullable="false" length="40" comment="End Ip Num"/>
<column xsi:type="int" name="geoip_loc_id" padding="10" unsigned="true" nullable="false" identity="false" comment="Geoip Loc Id"/>
<column xsi:type="text" name="postal_code" nullable="true" comment="Postal Code"/>
<column xsi:type="float" name="latitude" scale="0" precision="10" unsigned="false" nullable="true" comment="Latitude"/>
<column xsi:type="float" name="longitude" scale="0" precision="10" unsigned="false" nullable="true" comment="Longitude"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="block_id"/>
</constraint>
</table>
</schema>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) 2022 Amasty (https://www.amasty.com)
* @package GeoIP Data for Magento 2 (System)
*/-->
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
<table name="amasty_geoip_block" resource="default" engine="innodb" comment="Amasty Geoip Block Table">
<column xsi:type="int" name="block_id" padding="10" unsigned="true" nullable="false" identity="true" comment="Block Id"/>
<column xsi:type="int" name="start_ip_num" padding="10" unsigned="true" nullable="false" identity="false" comment="Start Ip Num"/>
<column xsi:type="int" name="end_ip_num" padding="10" unsigned="true" nullable="false" identity="false" comment="End Ip Num"/>
<column xsi:type="int" name="geoip_loc_id" padding="10" unsigned="true" nullable="false" identity="false" comment="Geoip Loc Id"/>
<column xsi:type="text" name="postal_code" nullable="true" comment="Postal Code"/>
<column xsi:type="float" name="latitude" scale="0" precision="10" unsigned="false" nullable="true" comment="Latitude"/>
<column xsi:type="float" name="longitude" scale="0" precision="10" unsigned="false" nullable="true" comment="Longitude"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="block_id"/>
</constraint>
<index referenceId="AMASTY_GEOIP_BLOCK_GEOIP_LOC_ID" indexType="btree">
<column name="geoip_loc_id"/>
</index>
<index referenceId="AMASTY_GEOIP_BLOCK_START_IP_NUM_END_IP_NUM" indexType="btree">
<column name="start_ip_num"/>
<column name="end_ip_num"/>
</index>
</table>
<table name="amasty_geoip_location" resource="default" engine="innodb" comment="Amasty Geoip Location Table">
<column xsi:type="int" name="location_id" padding="10" unsigned="true" nullable="false" identity="true" comment="Location Id"/>
<column xsi:type="int" name="geoip_loc_id" padding="10" unsigned="true" nullable="false" identity="false" comment="Geoip Loc Id"/>
<column xsi:type="text" name="country" nullable="true" comment="Country"/>
<column xsi:type="text" name="city" nullable="true" comment="City"/>
<column xsi:type="text" name="region" nullable="true" comment="Region"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="location_id"/>
</constraint>
<index referenceId="AMASTY_GEOIP_LOCATION_GEOIP_LOC_ID" indexType="btree">
<column name="geoip_loc_id"/>
</index>
</table>
<table name="amasty_geoip_block_v6" resource="default" engine="innodb" comment="Amasty Geoip Block Table IpV6">
<column xsi:type="int" name="block_id" padding="10" unsigned="true" nullable="false" identity="true" comment="Block Id"/>
<column xsi:type="varchar" name="start_ip_num" nullable="false" length="40" comment="Start Ip Num"/>
<column xsi:type="varchar" name="end_ip_num" nullable="false" length="40" comment="End Ip Num"/>
<column xsi:type="int" name="geoip_loc_id" padding="10" unsigned="true" nullable="false" identity="false" comment="Geoip Loc Id"/>
<column xsi:type="text" name="postal_code" nullable="true" comment="Postal Code"/>
<column xsi:type="float" name="latitude" scale="0" precision="10" unsigned="false" nullable="true" comment="Latitude"/>
<column xsi:type="float" name="longitude" scale="0" precision="10" unsigned="false" nullable="true" comment="Longitude"/>
<constraint xsi:type="primary" referenceId="PRIMARY">
<column name="block_id"/>
</constraint>
</table>
</schema>