[#1304] Typo fix.
This commit is contained in:
parent
ee04fbc35a
commit
75da202ab7
|
@ -1,4 +1,4 @@
|
||||||
defmodule Pleroma.Repo.Migrations.CopyUsersInfoaddsToUsers do
|
defmodule Pleroma.Repo.Migrations.CopyUsersInfoFieldsToUsers do
|
||||||
use Ecto.Migration
|
use Ecto.Migration
|
||||||
|
|
||||||
@info_fields [
|
@info_fields [
|
||||||
|
@ -136,7 +136,7 @@ def change do
|
||||||
add(:skip_thread_containment, :boolean, default: false, null: false)
|
add(:skip_thread_containment, :boolean, default: false, null: false)
|
||||||
end
|
end
|
||||||
|
|
||||||
if direction == :up do
|
if direction() == :up do
|
||||||
for f <- @info_fields do
|
for f <- @info_fields do
|
||||||
set_field = "update users set #{f} ="
|
set_field = "update users set #{f} ="
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue