projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff4e282
)
Add warning to the migration
author
Mark Felder
<feld@FreeBSD.org>
Wed, 12 Aug 2020 16:13:24 +0000
(11:13 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Wed, 12 Aug 2020 16:13:24 +0000
(11:13 -0500)
priv/repo/migrations/20200811143147_ap_id_not_null.exs
patch
|
blob
|
history
diff --git
a/priv/repo/migrations/20200811143147_ap_id_not_null.exs
b/priv/repo/migrations/20200811143147_ap_id_not_null.exs
index 3e5d27fe1b7b9d32bb0d6cb5ae92f4e9bdefc63b..50f1810b24db8c7842714e52f19d2c5717ace285 100644
(file)
--- a/
priv/repo/migrations/20200811143147_ap_id_not_null.exs
+++ b/
priv/repo/migrations/20200811143147_ap_id_not_null.exs
@@
-2,6
+2,8
@@
defmodule Pleroma.Repo.Migrations.ApIdNotNull do
use Ecto.Migration
def up do
+ Logger.warn("If this migration fails please open an issue at https://git.pleroma.social/pleroma/pleroma/-/issues/new \n")
+
alter table(:users) do
modify(:ap_id, :string, null: false)
end