summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20190208131753_add_scopes_to_o_auth_entities.exs
diff options
context:
space:
mode:
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