mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
commit
1721209379
@ -4,6 +4,13 @@ use Anomaly\Streams\Platform\Database\Migration\Migration;
|
|||||||
|
|
||||||
class VisiosoftModuleAdvsChangeProductOptionsValue extends 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()
|
public function up()
|
||||||
{
|
{
|
||||||
if (!$field = $this->fields()->findBySlugAndNamespace('product_options_value', 'advs')) {
|
if (!$field = $this->fields()->findBySlugAndNamespace('product_options_value', 'advs')) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user