diff --git a/classes/shop/ShopUrl.php b/classes/shop/ShopUrl.php index 5e43b1aee..94d62f51f 100644 --- a/classes/shop/ShopUrl.php +++ b/classes/shop/ShopUrl.php @@ -49,8 +49,8 @@ class ShopUrlCore extends ObjectModel 'domain' => array('type' => self::TYPE_STRING, 'required' => true, 'size' => 255, 'validate' => 'isCleanHtml'), 'domain_ssl' => array('type' => self::TYPE_STRING, 'size' => 255, 'validate' => 'isCleanHtml'), 'id_shop' => array('type' => self::TYPE_INT, 'required' => true), - 'physical_uri' => array('type' => self::TYPE_STRING, 'size' => 64), - 'virtual_uri' => array('type' => self::TYPE_STRING, 'size' => 64), + 'physical_uri' => array('type' => self::TYPE_STRING, 'size' => 256), + 'virtual_uri' => array('type' => self::TYPE_STRING, 'size' => 256), ), ); diff --git a/install/data/db_structure.sql b/install/data/db_structure.sql index 0afb0273e..079d3e928 100644 --- a/install/data/db_structure.sql +++ b/install/data/db_structure.sql @@ -2175,8 +2175,8 @@ CREATE TABLE IF NOT EXISTS `PREFIX_shop_url` ( `id_shop` int(11) unsigned NOT NULL, `domain` varchar(150) NOT NULL, `domain_ssl` varchar(150) NOT NULL, - `physical_uri` varchar(64) NOT NULL, - `virtual_uri` varchar(64) NOT NULL, + `physical_uri` varchar(256) NOT NULL, + `virtual_uri` varchar(256) NOT NULL, `main` TINYINT(1) NOT NULL, `active` TINYINT(1) NOT NULL, PRIMARY KEY (`id_shop_url`),