Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

20 lines
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