Skip to content

Commit

Permalink
Migration command fix to properly remove old sections (#45)
Browse files Browse the repository at this point in the history
* Migration command fix
  • Loading branch information
martink635 authored Apr 20, 2023
1 parent 034794f commit 1504a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/MigrateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function handle(File $file)
});

$blueprintsWithSeotamicFields = $blueprints->filter(function ($blueprint) {
return $blueprint->hasSection('SEO') && $blueprint->hasSection('Social');
return $blueprint->hasSection('SEO') || $blueprint->hasSection('Social');
});

$skippedBlueprints = [];
Expand Down

0 comments on commit 1504a5f

Please sign in to comment.