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
/
20190208131753_add_scopes_to_o_auth_entities.exs
diff --git
a/priv/repo/migrations/20190208131753_add_scopes_to_o_auth_entities.exs
b/priv/repo/migrations/20190208131753_add_scopes_to_o_auth_entities.exs
index 4efbebc4da40e40c2ad6d3d606284a50b08112fd..ad93bfce285d9ccc784302816b32ab88b5e412ba 100644
(file)
--- a/
priv/repo/migrations/20190208131753_add_scopes_to_o_auth_entities.exs
+++ b/
priv/repo/migrations/20190208131753_add_scopes_to_o_auth_entities.exs
@@
-4,7
+4,7
@@
defmodule Pleroma.Repo.Migrations.AddScopeSToOAuthEntities do
def change do
for t <- [:oauth_authorizations, :oauth_tokens] do
alter table(t) do
- add
:scopes, {:array, :string}, default: [], null: false
+ add
(:scopes, {:array, :string}, default: [], null: false)
end
end
end