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