Migrations: Fix typo.

This commit is contained in:
lain 2019-10-11 16:17:34 +02:00
parent 5567c0de52
commit 13265f1757

View File

@ -4,7 +4,7 @@ defmodule Pleroma.Repo.Migrations.FillObjectApIdField do
def change do
Clippy.puts("ATTENTION! This migration might take hours! If you don't want to run it now, abort this with CTRL+C! I'll wait 30 seconds now.")
:times.sleep(:timer.seconds(30))
:timer.sleep(:timer.seconds(30))
execute("update objects set ap_id = data->>'id'")
create unique_index(:objects, [:ap_id])
end