summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-10-11 16:17:34 +0200
committerlain <lain@soykaf.club>2019-10-11 16:17:34 +0200
commit13265f1757c9e8c54809cbbcde2c558259835f91 (patch)
treeef5f13f786d7ad83a17e765b0c1fe374cc32e614
parent5567c0de52fd95354478c65ad7086ded4eb2b145 (diff)
Migrations: Fix typo.
-rw-r--r--priv/repo/migrations/20191007160755_fill_object_ap_id_field.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/repo/migrations/20191007160755_fill_object_ap_id_field.exs b/priv/repo/migrations/20191007160755_fill_object_ap_id_field.exs
index a6d460625..f3e2c49d3 100644
--- a/priv/repo/migrations/20191007160755_fill_object_ap_id_field.exs
+++ b/priv/repo/migrations/20191007160755_fill_object_ap_id_field.exs
@@ -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