pleroma/priv/repo/migrations/20190208131753_add_scope_to_o_auth_entities.exs

12 lines
234 B
Elixir

defmodule Pleroma.Repo.Migrations.AddScopeToOAuthEntities do
use Ecto.Migration
def change do
for t <- [:oauth_authorizations, :oauth_tokens] do
alter table(t) do
add :scope, :string
end
end
end
end