From 0e756d3ca385f5c36514e91342572c2ddc020c8f Mon Sep 17 00:00:00 2001 From: vedatakd Date: Fri, 30 Apr 2021 11:45:53 +0300 Subject: [PATCH] fixed migration --- ...visiosoft.module.advs__change_product_options_value.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/addons/default/visiosoft/advs-module/migrations/2021_04_27_143550_visiosoft.module.advs__change_product_options_value.php b/addons/default/visiosoft/advs-module/migrations/2021_04_27_143550_visiosoft.module.advs__change_product_options_value.php index 679e891aa..1351744ff 100644 --- a/addons/default/visiosoft/advs-module/migrations/2021_04_27_143550_visiosoft.module.advs__change_product_options_value.php +++ b/addons/default/visiosoft/advs-module/migrations/2021_04_27_143550_visiosoft.module.advs__change_product_options_value.php @@ -4,6 +4,13 @@ use Anomaly\Streams\Platform\Database\Migration\Migration; class VisiosoftModuleAdvsChangeProductOptionsValue extends Migration { + public function __construct() + { + //Maria DB will be removed when the version is updated. + \Illuminate\Support\Facades\DB::getDoctrineSchemaManager() + ->getDatabasePlatform()->registerDoctrineTypeMapping('point', 'string'); + } + public function up() { if (!$field = $this->fields()->findBySlugAndNamespace('product_options_value', 'advs')) {