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
/
20170719152213_add_follower_address_to_user.exs
diff --git
a/priv/repo/migrations/20170719152213_add_follower_address_to_user.exs
b/priv/repo/migrations/20170719152213_add_follower_address_to_user.exs
index 591164be5ed6b6dbac680a8c94c0615d4bdffe35..be5eca36cb2858ade52dcb09aa88624b156fd069 100644
(file)
--- a/
priv/repo/migrations/20170719152213_add_follower_address_to_user.exs
+++ b/
priv/repo/migrations/20170719152213_add_follower_address_to_user.exs
@@
-3,13
+3,13
@@
defmodule Pleroma.Repo.Migrations.AddFollowerAddressToUser do
def up do
alter table(:users) do
- add
:follower_address, :string, unique: true
+ add
(:follower_address, :string, unique: true)
end
end
def down do
alter table(:users) do
- remove
:follower_address
+ remove
(:follower_address)
end
end
end