From 10a65b4b3bf41da590b17c9ec9214a86e863dd61 Mon Sep 17 00:00:00 2001 From: condor2 Date: Fri, 21 Jun 2024 11:36:35 +0300 Subject: [PATCH] Fixed google uninstal//install --- upload/admin/model/extension/advertise/google.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/upload/admin/model/extension/advertise/google.php b/upload/admin/model/extension/advertise/google.php index c02649446..f1b24b5ab 100644 --- a/upload/admin/model/extension/advertise/google.php +++ b/upload/admin/model/extension/advertise/google.php @@ -784,22 +784,22 @@ public function createTables(): void { `product_id` int(11), `store_id` int(11) NOT NULL DEFAULT '0', `has_issues` tinyint(1), - `destination_status` enum(\\'pending\\',\\'approved\\',\\'disapproved\\') NOT NULL DEFAULT 'pending', + `destination_status` enum('pending','approved','disapproved') NOT NULL DEFAULT 'pending', `impressions` int(11) NOT NULL DEFAULT '0', `clicks` int(11) NOT NULL DEFAULT '0', `conversions` int(11) NOT NULL DEFAULT '0', `cost` decimal(15,4) NOT NULL DEFAULT '0.0000', `conversion_value` decimal(15,4) NOT NULL DEFAULT '0.0000', `google_product_category` VARCHAR(10), - `condition` enum(\\'new\\',\\'refurbished\\',\\'used\\'), + `condition` enum('new','refurbished','used'), `adult` tinyint(1), `multipack` int(11), `is_bundle` tinyint(1), - `age_group` enum(\\'newborn\\',\\'infant\\',\\'toddler\\',\\'kids\\',\\'adult\\'), + `age_group` enum('newborn','infant','toddler','kids','adult'), `color` int(11), - `gender` enum(\\'male\\',\\'female\\',\\'unisex\\'), - `size_type` enum(\\'regular\\',\\'petite\\',\\'plus\\',\\'big and tall\\',\\'maternity\\'), - `size_system` enum(\\'AU\\',\\'BR\\',\\'CN\\',\\'DE\\',\\'EU\\',\\'FR\\',\\'IT\\',\\'JP\\',\\'MEX\\',\\'UK\\',\\'US\\'), + `gender` enum('male','female','unisex'), + `size_type` enum('regular','petite','plus','big and tall','maternity'), + `size_system` enum('AU','BR','CN','DE','EU','FR','IT','JP','MEX','UK','US'), `size` int(11), `is_modified` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`product_advertise_google_id`), @@ -841,7 +841,7 @@ public function createTables(): void { `feeds` text NOT NULL, `date_added` date, `roas` int(11) NOT NULL DEFAULT '0', - `status` enum(\\'paused\\',\\'active\\') NOT NULL DEFAULT 'paused', + `status` enum('paused','active') NOT NULL DEFAULT 'paused', INDEX `store_id` (`store_id`), PRIMARY KEY (`advertise_google_target_id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci");