diff --git a/app/commands/ClassifyMLPMA.php b/app/commands/ClassifyMLPMA.php index d085a740..8d7339b1 100644 --- a/app/commands/ClassifyMLPMA.php +++ b/app/commands/ClassifyMLPMA.php @@ -114,7 +114,7 @@ class ClassifyMLPMA extends Command { $track->save(); if (sizeof($linkedSongIds) > 0) { - $track->showSongs()->attach($linkedSongIds); + $track->showSongs()->sync($linkedSongIds); } echo PHP_EOL;