12 lines
234 B
Elixir
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
|