Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

20 lignes
357B

  1. defmodule Pleroma.Repo.Migrations.ApIdNotNull do
  2. use Ecto.Migration
  3. require Logger
  4. def up do
  5. Logger.warn(
  6. "If this migration fails please open an issue at https://git.pleroma.social/pleroma/pleroma/-/issues/new \n"
  7. )
  8. alter table(:users) do
  9. modify(:ap_id, :string, null: false)
  10. end
  11. end
  12. def down do
  13. :ok
  14. end
  15. end