logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git

20170906120646_add_mastodon_apps.exs (520B)


  1. # Pleroma: A lightweight social networking server
  2. # Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
  3. # SPDX-License-Identifier: AGPL-3.0-only
  4. defmodule Pleroma.Repo.Migrations.AddMastodonApps do
  5. use Ecto.Migration
  6. def change do
  7. create_if_not_exists table(:apps) do
  8. add(:client_name, :string)
  9. add(:redirect_uris, :string)
  10. add(:scopes, :string)
  11. add(:website, :string)
  12. add(:client_id, :string)
  13. add(:client_secret, :string)
  14. timestamps()
  15. end
  16. end
  17. end