projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[#1304] Typo fix.
[akkoma]
/
priv
/
repo
/
migrations
/
20191009154608_copy_users_info_fields_to_users.exs
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 d9df5bb51671feb00773615cecb541d53d1e43de..72c852d2b0a15925653b196f2e25e905c06c50dd 100644
(file)
--- 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.CopyUsersInfo
ad
dsToUsers do
+defmodule Pleroma.Repo.Migrations.CopyUsersInfo
Fiel
dsToUsers do
use Ecto.Migration
@info_fields [
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
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} ="
for f <- @info_fields do
set_field = "update users set #{f} ="