diff options
-rw-r--r-- | lib/pleroma/migrators/hashtags_table_migrator.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/migrators/hashtags_table_migrator.ex b/lib/pleroma/migrators/hashtags_table_migrator.ex index 31a5a44c7..b5add9659 100644 --- a/lib/pleroma/migrators/hashtags_table_migrator.ex +++ b/lib/pleroma/migrators/hashtags_table_migrator.ex @@ -58,7 +58,7 @@ defmodule Pleroma.Migrators.HashtagsTableMigrator do data_migration_id: data_migration_id, record_id: failed_id } - |> Repo.insert() + |> Repo.insert(on_conflict: :nothing) end record_ids = object_ids -- failed_ids |