diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-10-21 10:20:28 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-10-21 10:20:28 +0300 |
commit | 75da202ab74489af15e086f06810e22211d52d33 (patch) | |
tree | 213a380f0923d0e9f620fc1610f6ff2b76d0416a /priv | |
parent | ee04fbc35ad56784614c8cdd3f863da284a5725e (diff) | |
download | pleroma-75da202ab74489af15e086f06810e22211d52d33.tar.gz |
[#1304] Typo fix.
Diffstat (limited to 'priv')
-rw-r--r-- | priv/repo/migrations/20191009154608_copy_users_info_fields_to_users.exs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/repo/migrations/20191009154608_copy_users_info_fields_to_users.exs b/priv/repo/migrations/20191009154608_copy_users_info_fields_to_users.exs index d9df5bb51..72c852d2b 100644 --- a/priv/repo/migrations/20191009154608_copy_users_info_fields_to_users.exs +++ b/priv/repo/migrations/20191009154608_copy_users_info_fields_to_users.exs @@ -1,4 +1,4 @@ -defmodule Pleroma.Repo.Migrations.CopyUsersInfoaddsToUsers do +defmodule Pleroma.Repo.Migrations.CopyUsersInfoFieldsToUsers do use Ecto.Migration @info_fields [ @@ -136,7 +136,7 @@ defmodule Pleroma.Repo.Migrations.CopyUsersInfoaddsToUsers do add(:skip_thread_containment, :boolean, default: false, null: false) end - if direction == :up do + if direction() == :up do for f <- @info_fields do set_field = "update users set #{f} =" |