projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use indexed split_part/3 to get a hostname rather than ts_ functions
[akkoma]
/
priv
/
repo
/
migrations
/
20190301101154_add_default_tags_to_user.exs
diff --git
a/priv/repo/migrations/20190301101154_add_default_tags_to_user.exs
b/priv/repo/migrations/20190301101154_add_default_tags_to_user.exs
index faeb8f1c65bf0c264596842be8f67a763368724f..ea0947852ecb6df6ffbbfe87f940373e0d94f2b7 100644
(file)
--- a/
priv/repo/migrations/20190301101154_add_default_tags_to_user.exs
+++ b/
priv/repo/migrations/20190301101154_add_default_tags_to_user.exs
@@
-2,7
+2,7
@@
defmodule Pleroma.Repo.Migrations.AddDefaultTagsToUser do
use Ecto.Migration
def up do
- execute
"UPDATE users SET tags = array[]::varchar[] where tags IS NULL"
+ execute
("UPDATE users SET tags = array[]::varchar[] where tags IS NULL")
end
def down, do: :noop