summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20190208131753_add_scopes_to_o_auth_entities.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-10-21 14:19:15 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-10-21 14:19:15 +0700
commit4ea1a61b008c932bc83fcd6cd07bb7f4c251204a (patch)
treec763bd3a2a21ee3e40384ee323076bbb577b7ccb /priv/repo/migrations/20190208131753_add_scopes_to_o_auth_entities.exs
parent8ad015ef64e0d2a4cd9f2979ff08d28be3a635e5 (diff)
parent62e3d76a450c1b34ba8d0c88a184ec861ed90f29 (diff)
downloadpleroma-4ea1a61b008c932bc83fcd6cd07bb7f4c251204a.tar.gz
pleroma-4ea1a61b008c932bc83fcd6cd07bb7f4c251204a.zip
Merge branch 'develop' into refactor/following-relationships
Diffstat (limited to 'priv/repo/migrations/20190208131753_add_scopes_to_o_auth_entities.exs')
-rw-r--r--priv/repo/migrations/20190208131753_add_scopes_to_o_auth_entities.exs2
1 files changed, 1 insertions, 1 deletions
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 4efbebc4d..ad93bfce2 100644
--- 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