Unable to migrate, ERROR 23505
After running
sudo -Hu pleroma MIX_ENV=prod mix ecto.migrate --migrations-path priv/repo/optional_migrations/rum_indexing/
It's showing:
[info] execute "UPDATE objects SET updated_at = NOW()" ** (Postgrex.Error) ERROR 23505 (unique_violation) duplicate key value violates unique constraint "objects_unique_apid_index"
table: objects
constraint: objects_unique_apid_index
Key ((data ->> 'id'::text))=(https://freespeechextremist.com/objects/06ec2ae7-890a-4ea2-8566-d30a7585f9fa) already exists.