Add option to modify HTTP pool size
[akkoma] / priv / repo / migrations / 20190208131753_add_scopes_to_o_auth_entities.exs
1 defmodule Pleroma.Repo.Migrations.AddScopeSToOAuthEntities do
2 use Ecto.Migration
3
4 def change do
5 for t <- [:oauth_authorizations, :oauth_tokens] do
6 alter table(t) do
7 add(:scopes, {:array, :string}, default: [], null: false)
8 end
9 end
10 end
11 end