Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/dev/htdocs/custom/.old_ecommerceng/sql/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/dev/htdocs/custom/.old_ecommerceng/sql/update.sql
-- ===================================================================
-- Copyright (C) 2022 Open-Dsi <support@open-dsi.fr>
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
--
-- ===================================================================

-- v4.0.18
ALTER TABLE llx_ecommerce_site ADD COLUMN fk_anonymous_thirdparty integer NULL;
ALTER TABLE llx_ecommerce_site ADD COLUMN oauth_id varchar(255) NULL after user_password;
ALTER TABLE llx_ecommerce_site ADD COLUMN oauth_secret varchar(255) NULL after oauth_id;
ALTER TABLE llx_ecommerce_site ADD COLUMN price_level integer NULL DEFAULT 1;
ALTER TABLE llx_ecommerce_site CHANGE COLUMN magento_price_type ecommerce_price_type VARCHAR(3) NOT NULL DEFAULT 'HT';

-- v4.0.20
ALTER TABLE llx_ecommerce_site ADD COLUMN parameters TEXT NULL;

-- v4.0.27
ALTER TABLE llx_ecommerce_societe DROP INDEX uk_ecommerce_societe_fk_site_fk_societe;

-- v4.0.58
UPDATE llx_ecommerce_pending_webhooks SET datep = datee WHERE datee IS NOT NULL;
ALTER TABLE llx_ecommerce_pending_webhooks DROP COLUMN datee;
ALTER TABLE llx_ecommerce_pending_webhooks CHANGE COLUMN webhook_data webhook_data mediumtext NOT NULL;

-- v4.0.92
ALTER TABLE llx_ecommerce_site ADD COLUMN entity integer NULL DEFAULT 1;

Hry