Page MenuHomePhorge

20190208131753_add_scopes_to_o_auth_entities.exs
No OneTemporary

Size
432 B
Referenced Files
None
Subscribers
None

20190208131753_add_scopes_to_o_auth_entities.exs

# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Repo.Migrations.AddScopeSToOAuthEntities do
use Ecto.Migration
def change do
for t <- [:oauth_authorizations, :oauth_tokens] do
alter table(t) do
add(:scopes, {:array, :string}, default: [], null: false)
end
end
end
end

File Metadata

Mime Type
text/x-ruby
Expires
Sun, Feb 15, 4:35 AM (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1052760
Default Alt Text
20190208131753_add_scopes_to_o_auth_entities.exs (432 B)

Event Timeline