From 703ff4687046e1f1c755dd4595182fd73498f37e Mon Sep 17 00:00:00 2001 From: magentix Date: Fri, 12 May 2023 23:54:17 +0200 Subject: [PATCH] Update tables on upgrade --- upgrade/upgrade-1.0.4.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 upgrade/upgrade-1.0.4.php diff --git a/upgrade/upgrade-1.0.4.php b/upgrade/upgrade-1.0.4.php new file mode 100644 index 0000000..e6c6528 --- /dev/null +++ b/upgrade/upgrade-1.0.4.php @@ -0,0 +1,19 @@ +execute(' + ALTER TABLE `' . _DB_PREFIX_ . 'google_place` + ADD COLUMN `phone` VARCHAR(255) DEFAULT NULL; + + ALTER TABLE `' . _DB_PREFIX_ . 'google_place` + ADD COLUMN `price_level` INT DEFAULT NULL; + + ALTER TABLE `' . _DB_PREFIX_ . 'google_review` + ADD COLUMN `author_url` VARCHAR(255) DEFAULT NULL; + '); +}