File tree Expand file tree Collapse file tree
src/Migration/Destinations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -499,13 +499,13 @@ protected function createField(Column|Attribute $resource): bool
499499 Column::TYPE_INTEGER => UtopiaDatabase::VAR_INTEGER ,
500500 Column::TYPE_FLOAT => UtopiaDatabase::VAR_FLOAT ,
501501 Column::TYPE_RELATIONSHIP => UtopiaDatabase::VAR_RELATIONSHIP ,
502-
502+
503503 Column::TYPE_STRING ,
504504 Column::TYPE_IP ,
505505 Column::TYPE_EMAIL ,
506506 Column::TYPE_URL ,
507507 Column::TYPE_ENUM => UtopiaDatabase::VAR_STRING ,
508-
508+
509509 Column::TYPE_POINT => UtopiaDatabase::VAR_POINT ,
510510 Column::TYPE_LINE => UtopiaDatabase::VAR_LINESTRING ,
511511 Column::TYPE_POLYGON => UtopiaDatabase::VAR_POLYGON ,
@@ -515,7 +515,7 @@ protected function createField(Column|Attribute $resource): bool
515515 Column::TYPE_LONGTEXT => UtopiaDatabase::VAR_LONGTEXT ,
516516 Column::TYPE_OBJECT => UtopiaDatabase::VAR_OBJECT ,
517517 Column::TYPE_VECTOR => UtopiaDatabase::VAR_VECTOR ,
518-
518+
519519 default => throw new \Exception ('Invalid resource type ' . $ resource ->getType ()),
520520 };
521521
You can’t perform that action at this time.
0 commit comments