Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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