diff --git a/migration/19.10/migrate.sh b/migration/19.10/migrate.sh index bfa19f713a463642e8a57e0136dc211f29ec4651..05cebb4180efa957f8294325d17105a3cb0116b7 100755 --- a/migration/19.10/migrate.sh +++ b/migration/19.10/migrate.sh @@ -1,4 +1,4 @@ #!/bin/sh php ./migrateFullText.php -#php ./migrateServicesEntities.php -#php ./migrateMenuEntities.php +php ./migrateServicesEntities.php +php ./migrateMenuEntities.php diff --git a/migration/19.10/migrateFullText.php b/migration/19.10/migrateFullText.php index 8b21ed7ceb151f81842d824f058d8c9c71316d4f..95d49756db47785af39e19cc5f6baef4bfc2faa0 100644 --- a/migration/19.10/migrateFullText.php +++ b/migration/19.10/migrateFullText.php @@ -26,8 +26,10 @@ foreach ($customs as $custom) { $collId = 'letterbox_coll'; } elseif ((string)$collection->table == 'res_attachments') { $collId = 'attachments_coll'; - } else { + } elseif ((string)$collection->table == 'res_version_attachments') { $collId = 'attachments_version_coll'; + } else { + continue; } \Docserver\models\DocserverModel::update([